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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't get ASPX pages running on my webserver

Status
Not open for further replies.

Ovatvvon

Programmer
Feb 1, 2001
1,514
US
Hey,

Ok, I know I'm pretty new and all to aspx, but with old asp pages, you could code the page and it was up and running. I installed the latest .net framework and updates, and have a upload folder with a few aspx pages that were running, but now they're not. I was doing something with my permissions and user accounts on folders, so I think it had something to do with that.

Is there a specific group in Active Directory that allows ASP.NET to work? Or, is there something else that I'm overlooking? (Sample page of problem: [URL unfurl="true"]http://members.swiftvision.net/georgia/graphicdesign/samples[/url])

-Ovatvvon :-Q
 
1. please do this:
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".

so other people can look at the error in your sample page.

2. maybe it could be something with the read and write permissions on the web folder
 
That's what's strange. It is already set to 'off'. But it still shows the page like that. I have read/write permissions set to let Everyone have Full control...just so I could see if that was it, but it doesn't impact it.

Any other ideas what might be going on?

-Ovatvvon :-Q
 
Are you running on Server 2k3? I think it has "run scripts" turned off by default.

Chip h.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
I'm running Win2k Server w/ Service Pack 4. I double checked the website, and it does have script source access enabled, as well as "scripts only" enabled for execute permissions. Do you think maybe I need to have something installed in the ISAPI Filters? Just trying to shoot out other ideas. (It's just really weird that it was working, but now it's not for some reason.)

-Ovatvvon :-Q
 
maybe you can try reinstalling the .net components, if nothing else works.
 
JohnYingling,
I tried what you said. It gave me a popup stating: "Cannot find the file 'aspnet_regiis' (or one of its components). Make sure the path and filename are correct and that all required libraries are available."

So you think I'm missing some files some how?

-Ovatvvon :-Q
 
JohnYingling,

I did that, however, it did not alleviate the problem. :-( I'm just not sure what in the world is going on here. Any other possibilities?

-Ovatvvon :-Q
 
I don't know if this may have anything to do with it or not, but lately (as in, the last week or so) my server's been "on and off" with delivering web pages that require database connections. For instance, the site at [URL unfurl="true"]http://members.pintesoft.com/georgia/admin/admin.asp[/url] will sometimes have no problems handling the login process, and other times it cancels with an error reading:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x1038 Thread 0x1020 DBC 0x2540064 Jet'.

/georgia/admin/adminLogin.asp, line 21


(Where line 21 is the command to open the connection to the database. It's not a problem with the code, because I've done it many times (using classic asp), and because it works when it feels like it. *usually* a reboot will fix it temporarily, but not always, and only for a time (no specific time that I've been able to find yet, nor after any specific program / usage that I've noticed yet.)

Do you think this might be part of the problem? Whatever the "problem" is? (Haven't been able to figure this one out yet either.



-Ovatvvon :-Q
 
This error is caused simply by using the Microsoft Access Driver, that driver has and will always be a "Flakey" you will be better off using jet engine driver

and no there is no chance this asp error has anything to do with the asp.net security issues

why dont you test this
create a folder called test and grant permissions to read write to IIS_WPG and the Guest account

save the following as test.aspx

Code:
<%@ Page Language="VB" %>

<html>

   <body>

      <% Dim I As Integer
         For I = 2 To 9 %>
         <font size="<%=I%>"> ASP.NET </font> <br>
      <% Next I %>

   </body>

</html>

save the following as web.config
Code:
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
upload both files to the test directory and make sure IIS_WPG and the Guest account have read and write permissions "just for testing purposes"

Good luck


Note:Copying and Pasting is NoT Creativity.
What would you attempt to accomplish if you knew you would not fail?
 
Ecreations,

I did what you said, but have the same error as the other place. I simply copied and pasted your code into two new files and named them accordingly, as well as setting the permissions as you requested. Here is the test folder location (I set directory browsing enabled for this folder since there is no default page...so you can select both files from the list...they're the only two there.):



-Ovatvvon :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top