Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploy web app to web server

Status
Not open for further replies.

bclt

Programmer
Mar 13, 2005
363
GR
Hi,

I have a web app (login.aspx, default.aspx and the dll in directory bin). When i copy these files in / (in the server not in my pc) there is error in application "/".
What option(s) am i missing to do ?


Tnx
 
It could be one of many things.

Try turning the errors on from the web.vonfig file and looking on the server as to the exact error.

Without giving us more information, the responses you get will be very general.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Error:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

 
And did you read what it was telling you?
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
it could, however, be viewed by browsers running on the local server machine
Have you tried this?


--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
I can see the page (Start without Debugging). When copying the files to the network this error occurs.
 
Has anyone figured out why's that problem ? Pressing Ctrl+F5 (Start without debugging) or just right clicking at the startup page -> View in Browser, works fine.

But the purpose of all web pages is to upload them on remote server, not only in the local (my pc).


Tnx
 
Has anyone figured out why's that problem
I refer to my last post. Have you tried what it suggests?

This is somthing that you have to do yoursefl in order to get the error that is happening. Until you have this we will be of no help to you as we don't know what error is being raised.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
ca8msm,

I know the error and it is posted. Once more: I CAN view the page (full functionality) from my pc. I CANNOT view the page as it is in a real server, in location NOT BUT in
 
You are not understanding this at all - there is nothing we can do until you find what the error is yourself. If you read the error page that you have posted above (which isn't the real error) is states:
It could, however, be viewed by browsers running on the local server machine
so you need to go onto the server and open a browser there to see the real error. When you have done that post it here.

If you still don't grasp this then there is nothing else I can do.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
You are not understanding this at all", said ca8msm.

I understand nothing. Ok. What should i do so you help me?
I really don't know what is the error. May the server not support/accert aspx files?


 
I understand nothing. Ok. What should i do so you help me?

so you need to go onto the server and open a browser there to see the real error. When you have done that post it here.

Literacy is a required for receiving assistance.

Step 1) Get up, out of you seat, stand. (Unless bound to mobility device, in which case, prepair to move)

Step 2) Move to server. If the sever is in another room, this may require opening a door. For details on opening a door, see the FAQ section.

Step 3) Sit in front of server. This can get complicated if the machine is in a server room, has no monitor, or is otherwhys physically indisposed. If that is the case, contact your network adminstrator and habe them help you with this step.

Step 4)Open your prefered web browser.

Step 5) Goto the web app you are trying to test.

Step 6) A full error will be displayed, select the text by holding down the left mouse button and moving it over the text. Then press [ctrl]-C (Or right click and select 'Copy').

Step 7) Type in the URL of this thread into the web browser.

Step 8) Click in the 'Reply' box, then press [ctrl]-V (or right click and select 'Paste')

Step 9) Click the "Submit Post" button.

I don't beleive I just wasted time typing this.

-Rick

PS: Web browsing from servers is never a good idea (with the exception of internal browsing/testing) Provided you don't actually need these instructions, it would be safer to save the error text to a text file, return to your computer and post the contents from there.


----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
Rick, thank you very much for the instructions, but there is a problem: the door to the server is open, so i can't open it. Shall i walk into the room or close and the open again the door??? ha ha ha.

I copy the files in this way: goto to browser type in "ftp://ftp.mysite.gr". Fill in username and password and then i have access to copy or delete files. So i copy the aspx file (default page) and the bin directory. Then " and i get this error:

-------
Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

------

This error is displayed in the web browser. I am in Greecee and the server (this box...u know) is in America...

A. Posting code could be helpful ?
Q. No it is not, because i don't do e.g some file IO without having permossions set.

U suggest something or u'll start these """helpful""" steps?
 
This error is displayed in the web browser. I am in Greecee and the server (this box...u know) is in America...

Ahh, okay. So you are NOT at physically the server. Either talk to your net admins about VNCing into the server, OR change the <!-- Web.Config Configuration File --> so that <customErrors mode="Off"/> is set to <customErrors mode="On"/>, but notice that will make your error messages visible to everyone. So once you are done debugging, turn it back off.

-Rick


----------------------
[banghead]If you're about to post an ASP.Net question,
please don't do it in the VB.Net forum[banghead]

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
I make a page (default.aspx) that has a label and a button.Button's code is : label1.text=now().

I copy the aspx and bin directory, and the same message "server error in '/' application" appears. Even in this simple case!!

 
God put both hands and legs, and now it works !!
Don't ask me how;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top