Greeting everyone, I am sorry to bother you all. I need some help.
I have a web hosting account at godaddy. I am testing the websites I created in visual studio 2010 in it.
I created a directory webApps and then within it, I created other directories: website1, website2, website3 and wensite4
I made 4 websites as follows, actually the 4 websites are exactly the same except website 3 in which I created a default.aspx using the code in file technique. This one does work.
First I uploaded all the files, after I built and published in visual studio to the directory website1
Jorge Murall...
Member
2 Points
7 Posts
Could not load the assembly 'App_Web_sysl0yh4'
Feb 14, 2012 09:35 PM|LINK
I made 4 websites as follows, actually the 4 websites are exactly the same except website 3 in which I created a default.aspx using the code in file technique. This one does work.
http://www.newporttimesharesrus.com/webapps/website1
I did not change anything, just uploaded the files.
Then, I changed the web.config file to display errors and uploaded everything to the following directory:
http://www.newporttimesharesrus.com/webapps/website2
Then, I made the website again, I created the default.aspx with the code in file technique, and it works.
http://www.newporttimesharesrus.com/webapps/website3
Someone in another forum told me to change the web.config file with lines of code regarding the runtime instructions.
I change the web.config with the code below and uploaded to the following directory, but still does not work
http://www.newporttimesharesrus.com/webapps/website4
The code I have in the web.config file is listed below:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin; website4/bin"/>
</assemblyBinding>
</runtime>
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
</system.webServer>
<system.web>
<customErrors mode="Off"/>
<compilation debug="true"/>
</system.web>
</configuration>
401-314-6109
jorge@locopro.com
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Could not load the assembly 'App_Web_sysl0yh4'
Feb 16, 2012 02:16 AM|LINK
Hi
I have visted your website.
The web 1 has already gave you a suggestion to change the web.config. I think.
And web 2 you can't inhert 2 class for one page, please inherits the code behind class.
web 4 has told you The file '/webapps/website4/Default.aspx.vb' does not exist.
please trouble shooting the error, I think they all normal issue.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Could not load the assembly 'App_Web_sysl0yh4'
Feb 21, 2012 09:10 AM|LINK
Hi
I test in my local.
No problem, please check your physic path really have the file.
And please refer to http://support.microsoft.com/kb/942041
Thanks
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework