asp.net won't run

dudleyukip

New Member
Messages
4
Reaction score
0
Points
0
I've searched through the forums for answers on this one, and found several threads, but still can't get asp.net to run.

The url is: http://www.ukipdudley.x10hosting.com/hello.aspx

It runs fine on IIS on my local machine, but on x10 servers displays a runtime error "Server Error in '/' Application" (as you can see)

As advised in other threads, I tried adding a line to htaccess in public_html:
AddType application/mono .aspx .ascx .asax .ashx .config .cs .asmx .axd

But this results in my browser asking me if I want to download "hello.aspx"..!

Any help would be much appreciated
 

newvbforum

New Member
Messages
1
Reaction score
0
Points
0
Hey,
Help me locating this .htaccess file. I logged into my file manager but cannot see this file.

Also the first step you will need to add this line in your web.config file. <customErrors mode="Off"/>.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
I'm not sure I'll be much help... but:

x10 doesn't run IIS. They run Linux, so you will have to add a MIME type for you to be able to run ASP.NET. Unfortunately, I don't know what code is needed, as I'm not experienced with ASP.

You might be able to do a search for the information you need - like I said, I have no experience with ASP.NET. (Maybe this? http://www.google.com/search?hl=en&safe=off&q=MIME+types+for+ASP+on+linux )

Sorry I couldn't be more help!
Neil Hanlon
 
Top