Server Error in '/' Application

Status
Not open for further replies.

javierma

New Member
Messages
7
Reaction score
0
Points
0
Hi: I just created a site (sqlformatter), uploaded some files but
when I try to reach http://sqlformatter.x10hosting.com/
I get the error
Server Error in '/' Application

I tried with http://sqlformatter.x10hosting.com/default.aspx
and http://www.sqlformatter.x10hosting.com/

with the same result.

So I decided to upload a very simple index.htm file and tried

http://sqlformatter.x10hosting.com/index.htm
getting "The page you requested is not available, "

Could you please help me to understand what Im doing wrong?

Thanks!
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
Do you have a file in the public_html directory called .htaccess?
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
Are there any other files that have the same letters in the name but the "." is in a different place? If so, rename that file and change it back again.
 

javierma

New Member
Messages
7
Reaction score
0
Points
0
These are the files in the public_html dir:


_vti_bin 4 KB httpd/unix-directory 0755

_vti_cnf 4 KB httpd/unix-directory 0755

_vti_log 4 KB httpd/unix-directory 0755

_vti_pvt 4 KB httpd/unix-directory 0750

_vti_txt 4 KB httpd/unix-directory 0755

bin 4 KB httpd/unix-directory 0755

.htaccess 370 Bytes text/x-generic 0644

_vti_inf.html 1.71 KB text/html 0644

Default.aspx 1.77 KB text/x-generic 0755

Index.htm 2.44 KB text/html 0755

jamformatter.js 1.34 KB text/x-generic 0755

postinfo.html 2.4 KB text/html 0755

PrecompiledApp.config 49 Bytes text/x-generic 0755

web.config 9.82 KB text/x-generic 0755

So, I do not think that's the problem.
I published the site directly with asp.net. Could be this a problem?


Are there any other files that have the same letters in the name but the "." is in a different place? If so, rename that file and change it back again.
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
I still believe that it's a problem with the .htaccess

Even though you said that you published a site with asp.net, you also said that you couldn't even get a simple index.htm to show up. I previously had a problem myself with getting a simple index.html to show up taking me to the page exactly like what's happening with yours. It was a problem with .htaccess

Rename .htaccess file and then change it right back to .htaccess That's how an admin solved it for me. Also review what's in the .htaccess file code just in case.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
The X10 servers run Linux, which uses a case-sensitive file system (though the real cause is that URLs are supposed to be case sensitive). Rename "Index.htm" to "index.html".

As for the original error, do what the message says and add a <customErrors> tag to web.config.
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
I hope it works. Following through, rename Default.aspx to default.aspx That link to it at the top is calling the wrong file that isn't there as well.

Also, it was my mistake for not catching that after you gave the list of files.
 
Last edited:

javierma

New Member
Messages
7
Reaction score
0
Points
0
Guys,
I tried to rename .htaccess to "other" and back to .htaccess and got same error.

then I renamed Index.htm to index.htm and Default.aspx to default.aspx
and got same error.

which other thing could be?
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
Is default.aspx supposed to work the same way as index.htm (as in put in the domain name in the address bar without including a specific file name like index.htm does)? If so, you've got two index files in the same directory and the server can't pull both at the time.

Edit: I just clicked on the links to the specific .aspx and .htm pages. I was right. They work when specified.
The address to the domain name takes me to the .htm page. It looks like it's in spanish.
 
Last edited:

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
Empty your browser cache and flush your DNS. This is what I'm seeing with both links:

" Esta presentación contiene elementos que su explorador no puede mostrar correctamente.
Si desea continuar, haga clic aquí."


English translation:


This presentation contains elements that your browser can not display correctly.

To continue, click here.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
I hope it works. Following through, rename Default.aspx to default.aspx.
"Default.aspx" is the correct capitalization; "default.aspx" probably won't work (though it depends on the value of the DirectoryIndex directive). Ignore the stuff about .htaccess; that was a stab in the dark, and we have no reason to suspect it (for now).

Again, do what the error page says and add a <customErrors> section to web.config.
 

javierma

New Member
Messages
7
Reaction score
0
Points
0
Thanks Calisto and Misson

Finally I have to tell you that 2 dais after my last try, the site began to work correctly.
I mean, I didnt modified nothig and site began to work.

So it seems that you have to wait some time after the account is activated in order to have your site working.

Thanks again.
 
Status
Not open for further replies.
Top