Hey all! Having a problem over here and I'm not quite sure what to do about it. Trying to learn MVC/C#/ASP.NET and doing great, but when I publish and upload my site I run into issues. The site is at nickscanvas.com and I'm getting a 500 error. It has something to do with the web config file.
First off, I was using the web.config file that VS generated and put in the folder when I published the project. The webpage said I needed to turn custom errors on so I did. This didn't work at first and had to call godaddy a few times. I was getting this 500 error. So I called again today, They were able to get the errors outputting. Trust level. No problem, put that line in the web config and bam, back to 500 error, back to that AWESOME godaddy hold music.
Before you start with the "You can silence it!" I say, not when the rep puts you on hold...
Any how.
The last rep told me, pretty much, it's your problem. Which I find just GREAT. I have to go line for line, examine the code. It has something to do with the web config file, but I can't get past the trust level with out getting the 500. The code looks like this:
VS Express 2013 for Web. The site is hosted at nickscanvas.com but the actual url is musicwhynot.com/nickscanvas/
Deluxe Microsoft Web Hosting package from GoCrappy. IIS: 7.0, .net version: asp.net 4.0/4.5.
I don't know if there is any other details I can give you. When I run the application from my local host of course it all works fine.
Any pointers? You can't just google a 500 error, visual studios isn't tell me anything. I'm in the dark!
Thanks for any help in advance!
Nick
[EDIT] WEll... not really an edit, just extra question. Maybe the sub domain is an issue? I can't clear musicwhynot.com, but I do have a client with a test server I can play around with. Would putting the web app in the root path solve this? Thanks. [/EDIT]
First off, I was using the web.config file that VS generated and put in the folder when I published the project. The webpage said I needed to turn custom errors on so I did. This didn't work at first and had to call godaddy a few times. I was getting this 500 error. So I called again today, They were able to get the errors outputting. Trust level. No problem, put that line in the web config and bam, back to 500 error, back to that AWESOME godaddy hold music.
Before you start with the "You can silence it!" I say, not when the rep puts you on hold...
Any how.
The last rep told me, pretty much, it's your problem. Which I find just GREAT. I have to go line for line, examine the code. It has something to do with the web config file, but I can't get past the trust level with out getting the 500. The code looks like this:
VB.NET:
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
<trust level="Full" />
</configuration>
VS Express 2013 for Web. The site is hosted at nickscanvas.com but the actual url is musicwhynot.com/nickscanvas/
Deluxe Microsoft Web Hosting package from GoCrappy. IIS: 7.0, .net version: asp.net 4.0/4.5.
I don't know if there is any other details I can give you. When I run the application from my local host of course it all works fine.
Any pointers? You can't just google a 500 error, visual studios isn't tell me anything. I'm in the dark!
Thanks for any help in advance!
Nick
[EDIT] WEll... not really an edit, just extra question. Maybe the sub domain is an issue? I can't clear musicwhynot.com, but I do have a client with a test server I can play around with. Would putting the web app in the root path solve this? Thanks. [/EDIT]