Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Wednesday, August 4th at 3pm PST / 6pm EST. Learn more
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

ASP Hosting errors and problems

ASP hosting problems and solutions:

500 (Internal Server) Error on Godady server:

1/ FTP does not copy folders/directories with contents to the server, even though all selected, solution: manually create each folder on the server with the same name as in your ASP.net published site folder, then copy across all files to those folders.

 

2/ For the following error: System.Security.SecurityException: Request for the permission of type 'System.Net.SocketPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed

following solution of above error (edit your web_config file)

Copy Code<system.web>
<customErrors mode="Off"/>
<trust level="Full" />
</system.web>

1 ACCEPTED SOLUTION
Wolven
New

I had to comment out a line in my web config file in the following section.

 

<defaultDocument enabled="true">
  <files>
    <!--
    <add value="Home.aspx"/>
    -->
  </files>
</defaultDocument>

View solution in original post

1 REPLY 1
Wolven
New

I had to comment out a line in my web config file in the following section.

 

<defaultDocument enabled="true">
  <files>
    <!--
    <add value="Home.aspx"/>
    -->
  </files>
</defaultDocument>

View solution in original post