Code shown below but "import arcpy" causes the above error when run from the web page.
import sys, string, os
import arcpy
arcpy.AddToolbox("$data_management_toolbox$")
Sections_Dissolve = "in_memory\\\\temp_table"
Sections = "$personal_geodb$" + "/Sections"
GISADMIN_Routes = "$sde_connection$" + "/" + "$sde_schema$" + ".Routes"
GISADMIN_Routes__2_ = "$sde_connection$" + "/" + "$sde_schema$" + ".Routes"
# Process: Dissolve...
arcpy.Dissolve_management(Sections, Sections_Dissolve, "NAT_RTE_ID;Cycle_Key;Org_Code;Route_No;Route_Name;Route_Description;Route_Length_Mi", "", "MULTI_PART", "DISSOLVE_LINES")
# Process: Append...
arcpy.Append_management(Sections_Dissolve, GISADMIN_Routes__2_, "NO_TEST", "ROUTE_NO 'Route Number' true true false 5 Text 0 0 ,First,#,in_memory\\\\temp_table,Route_No,-1,-1;ROUTE_NAME 'Route Name' true true false 75 Text 0 0 ,First,#,in_memory\\\\temp_table,Route_Name,-1,-1;ORG_CODE 'Org Code' true true false 2 Short 0 5 ,First,#,in_memory\\\\temp_table,Org_Code,-1,-1;NAT_RTE_ID 'NAT_RTE_ID' true true false 14 Text 0 0 ,First,#,in_memory\\\\temp_table,NAT_RTE_ID,-1,-1;ROUTE_DESCRIPTION 'Route Description' true true false 200 Text 0 0 ,First,#,in_memory\\\\temp_table,Route_Description,-1,-1;ROUTE_LENGTH_MI 'ROUTE_LENGTH_MI' true true false 8 Double 8 38 ,First,#,in_memory\\\\temp_table,Route_Length_Mi,-1,-1;CYCLEID 'CYCLEID' true true false 2 Short 0 5 ,First,#,in_memory\\\\temp_table,Cycle_Key,-1,-1;SHAPE.LEN 'SHAPE.LEN' false false true 0 Double 0 0 ,First,#", "")