Showing posts with label background. Show all posts
Showing posts with label background. Show all posts

Saturday, March 24, 2012

Serialize a base class?

Howdy,
A little background, using asp.net 2.0, i'm using a wizard object to create
a email interface for a user to email out their clientele, about 200 or so,
depending on the selection. The first step in the wizard is the email
selection, so it lists all the email accounts and distribution lists the
system has for the user, the user can select lists and/or individuals. I
then read through it all and throw it into an arraylist as a mailaddress
object. The next step in the wizard gives options of whether or not its
displays the selected recipients (including the ones in the lists), format
HTML vs Plain text, BCC the sender, etc. So I loop through all of the
selected emails in my arraylist to display which recipients the user is
emailing to. Here lies my issue.
I need the previously loaded arraylist of selected email addresses to still
be available. The only way i know how to do that is either throw it into a
session variable or the viewstate, both of which requires the class to be
serializable, which MailAddress isn't. I looked into Inheriting and trying
that but I got nowhere fast with that:
<Serializable()> Public Class MailAddress1
Inherits MailAddress
Public Sub New(ByVal email As String, ByVal display As String)
MyBase.New(email, display)
End Sub
End Class
I tried overriding the New sub but it wouldn't let me. So I instead moved
the collecting of email addresses to when the user presses Send. And i do a
lighter collection of the email addresses to a string for displaying their
selected recipients.
SO
I would like to only collect the email addresses once and use the same
arraylist multiple times, on multiple postbacks. Is this possible? I thought
about creating a new class to hold the email address, then transfer them
from my class to the mailaddress class when going to send, but that didnt
make much sens to me to do.
Thanks!!!I think you're stuck with
Create your own Class.
I would write one that had the constructor value needs for the MailAddress
class.
MailAddress (String) Initializes a new instance of the MailAddress
class using the specified address.
MailAddress (String, String) Initializes a new instance of the
MailAddress class using the specified address and display name.
MailAddress (String, String, Encoding)
I'd probably pick the second one.
(Serializable _)
public class MyEMailAddressInfo
property EmailAddress as string
property DisplayName as string
public static (shared in vb.net) GetMailAddress ( e as
MyEMailAddressInfo ) as MailAddress
and then create a collection of these
public class MyEmailAddressInfoCollection : List (Of MyEMailAddressInfo )
( use the inherit keyword instead of the c# ":" of course).
And I'd keep a copy of this object in the Session.
That's what I would do, look for other ideas from others.
Even if that class was serializable, you probably want to keep a "lite"
version of the values (aka the custom collection above) for either Session
or ViewState keeping, because of memory issues.
Keeping around alot of MailAddress objects, just because you need a bunch of
joe@.joes.com values seems non-frugal with the resources
Use the
public static (shared in vb.net) GetMailAddress ( e as MyEMailAddressInfo )
to delay getting those MailAddress objects you need when you actually need
them.
"David Lozzi" <dlozzi@.nospam.nospam> wrote in message
news:8D91BDDA-0C11-425B-8DB3-D1278E4B8C3D@.microsoft.com...
> Howdy,
> A little background, using asp.net 2.0, i'm using a wizard object to
create
> a email interface for a user to email out their clientele, about 200 or
so,
> depending on the selection. The first step in the wizard is the email
> selection, so it lists all the email accounts and distribution lists the
> system has for the user, the user can select lists and/or individuals. I
> then read through it all and throw it into an arraylist as a mailaddress
> object. The next step in the wizard gives options of whether or not its
> displays the selected recipients (including the ones in the lists), format
> HTML vs Plain text, BCC the sender, etc. So I loop through all of the
> selected emails in my arraylist to display which recipients the user is
> emailing to. Here lies my issue.
> I need the previously loaded arraylist of selected email addresses to
still
> be available. The only way i know how to do that is either throw it into a
> session variable or the viewstate, both of which requires the class to be
> serializable, which MailAddress isn't. I looked into Inheriting and trying
> that but I got nowhere fast with that:
> <Serializable()> Public Class MailAddress1
> Inherits MailAddress
> Public Sub New(ByVal email As String, ByVal display As String)
> MyBase.New(email, display)
> End Sub
> End Class
> I tried overriding the New sub but it wouldn't let me. So I instead moved
> the collecting of email addresses to when the user presses Send. And i do
a
> lighter collection of the email addresses to a string for displaying their
> selected recipients.
> SO
> I would like to only collect the email addresses once and use the same
> arraylist multiple times, on multiple postbacks. Is this possible? I
thought
> about creating a new class to hold the email address, then transfer them
> from my class to the mailaddress class when going to send, but that didnt
> make much sens to me to do.
> Thanks!!!
>

Thursday, March 22, 2012

Serve up file from outside web application directory

I come from a ColdFusion background, and CF has the ability (via something
called CFCONTENT) which allows you to serve up a file which resides outside
your web root directory.
How do I accomplish a similar thing using ASP.net 2 (C#)?
Basically, my web app is creating a PDF document and storing it in C:\PDFS
In my app, I want to have a LinkButton which will serve up the PDF (located
in C:\PDFS) to the user.
I DO NOT want to have the PDFs in the web app's directory structure because
you have to log into the app to use it. And I don't want just anyone to be
able to link to the PDF.
Thanks in advance for any advice,
BrianCold Fusion, ha good times there.
In C# you would use something like
DirectoryInfo dir = new DirectoryInfo("c:\\pdfFiles);
FileInfo[] pdfFiles= dir.GetFiles("*.pdf");
foreach(FileInfo f in pdfFiles)
{
Response.Write("<br><a href="http://links.10026.com/?link= + f.Name + ">" + f.Name + "</a>");
}
"Brian Simmons" <centraso@.newsgroup.nospam> wrote in message
news:%23c5n%23jB4HHA.4672@.TK2MSFTNGP05.phx.gbl...
>I come from a ColdFusion background, and CF has the ability (via something
>called CFCONTENT) which allows you to serve up a file which resides outside
>your web root directory.
> How do I accomplish a similar thing using ASP.net 2 (C#)?
> Basically, my web app is creating a PDF document and storing it in C:\PDFS
> In my app, I want to have a LinkButton which will serve up the PDF
> (located in C:\PDFS) to the user.
> I DO NOT want to have the PDFs in the web app's directory structure
> because you have to log into the app to use it. And I don't want just
> anyone to be able to link to the PDF.
> Thanks in advance for any advice,
> Brian
>
http://support.microsoft.com/kb/306654
Rather than using MapPath, just supply the actual directory.
"Brian Simmons" <centraso@.newsgroup.nospam> wrote in message
news:%23c5n%23jB4HHA.4672@.TK2MSFTNGP05.phx.gbl...
>I come from a ColdFusion background, and CF has the ability (via something
>called CFCONTENT) which allows you to serve up a file which resides outside
>your web root directory.
> How do I accomplish a similar thing using ASP.net 2 (C#)?
> Basically, my web app is creating a PDF document and storing it in C:\PDFS
> In my app, I want to have a LinkButton which will serve up the PDF
> (located in C:\PDFS) to the user.
> I DO NOT want to have the PDFs in the web app's directory structure
> because you have to log into the app to use it. And I don't want just
> anyone to be able to link to the PDF.
> Thanks in advance for any advice,
> Brian
>
Also ignore the "Add the PDF File to the Project" section :) As you want
the file outside your web space
"Aidy" <aidy@.xxnoemailxx.com> wrote in message
news:iKGdnaUWU_Dw7lnbnZ2dnUVZ8sqjnZ2d@.bt
.com...
> http://support.microsoft.com/kb/306654
> Rather than using MapPath, just supply the actual directory.
> "Brian Simmons" <centraso@.newsgroup.nospam> wrote in message
> news:%23c5n%23jB4HHA.4672@.TK2MSFTNGP05.phx.gbl...
>
Hi Brian,
This is a piece of cake in ASP.NET since you can utlize the powerful
functionality of .net framework components. As other members have
suggested, you can use the System.IO classes to get binary data from the
external file system (even on remote share folder) and write it out to
page's response stream. e.g.
======================
protected void Page_Load(object sender, EventArgs e)
{
byte[] bytes = null;
string path = @."d:\filestore\pdf_files\test.pdf";
bytes = File.ReadAllBytes(path);
Response.ClearHeaders();
Response.ClearContent();
Response.ContentType= "application\pdf";
Response.AddHeader("Content-disposition", "attachment;
filename=test.pdf");
Response.Write(bytes);
Response.End();
}
===========
Here is a web article also mentioned this:
#Secure File Download Page
http://www.codeproject.com/aspnet/S...ileDownload.asp
In addition, you can even get the file content from other storage such as
database, webservice .... It's quite flexible when you use the .net
frameowork classes to deal with the things:)
Hope this also helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Tuesday, March 13, 2012

Server Application Unavailable

Hello

I got a client who uses what appears to be ASP.NET 2.0. I come from a
UNIX/PHP/Apache background, and I'm not too familiar with ASP.NET. He
had some permissions problem a few weeks ago that I managed to fix.
Now, he's getting this error (similar to the one a few weeks ago):

Server Application Unavailable
The web application you are attempting to access on this web
server is currently unavailable. Please hit the "Refresh"
button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event
log of the web server. Please review this log entry to discover
what caused this error to occur.

I'd actually likely be able to figure this out on my own if the
administrator note were correct, but I can't find anything in the event
log about the issue either. Trying to run the application over and over
produces no record of a problem in the event log.

The configuration is Windows 2000, with .NET 2.0 the default ASP.NET
runtime environment. He uses IIS (I'm guessing version 5, but I'm not
even sure where to look).

There were some application events earlier today:

aspnet_wp.exe could not be launched because the username and/or
password supplied in the processModel section of the config file
are invalid.

I see nothing about username/password in the processModel Section of
that file, which appears to be:

C:\WINNT\Microsoft.NET\Framework\v2.0.50727\CONFIG \machine.config

The process model tag seems to concist of:

<processModel autoConfig="true"/>

Another event:

aspnet_wp.exe could not be started. The error code for the
failure is 80004005. This error can be caused when the worker
process account has insufficient rights to read the .NET
Framework files. Please ensure that the .NET Framework is
correctly installed and that the ACLs on the installation
directory allow access to the configured account.

I also changed the ASP.NET state service to run on a local system
account instead of some ASPNET account. I'm not even sure what the hell
the ASP.NET state service does, so maybe I shouldn't even have monkeyed
with it.

I'm noticing that a few versions of ASP.NET appear to be installed
concurrently. 1.0, 1.1, and 2.0 as far as I can tell.

Any suggestions about to fix this would be greatly appreciated, or even
URLs in the right direction.

Thank you!Hello Bolwerk,

Quote:

Originally Posted by

Hello
>
I got a client who uses what appears to be ASP.NET 2.0. I come from a
UNIX/PHP/Apache background, and I'm not too familiar with ASP.NET. He
had some permissions problem a few weeks ago that I managed to fix.
Now, he's getting this error (similar to the one a few weeks ago):
>
Server Application Unavailable
The web application you are attempting to access on this web
server is currently unavailable. Please hit the "Refresh"
button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event
log of the web server. Please review this log entry to discover
what caused this error to occur.
I'd actually likely be able to figure this out on my own if the
administrator note were correct, but I can't find anything in the
event log about the issue either. Trying to run the application over
and over produces no record of a problem in the event log.
>
The configuration is Windows 2000, with .NET 2.0 the default ASP.NET
runtime environment. He uses IIS (I'm guessing version 5, but I'm not
even sure where to look).
>
There were some application events earlier today:
>
aspnet_wp.exe could not be launched because the username and/or
password supplied in the processModel section of the config file
are invalid.
I see nothing about username/password in the processModel Section of
that file, which appears to be:
>
>
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\CONFIG \machine.config
>
The process model tag seems to concist of:
>
<processModel autoConfig="true"/>
>
Another event:
>
aspnet_wp.exe could not be started. The error code for the
failure is 80004005. This error can be caused when the worker
process account has insufficient rights to read the .NET
Framework files. Please ensure that the .NET Framework is
correctly installed and that the ACLs on the installation
directory allow access to the configured account.
I also changed the ASP.NET state service to run on a local system
account instead of some ASPNET account. I'm not even sure what the
hell the ASP.NET state service does, so maybe I shouldn't even have
monkeyed with it.
>
I'm noticing that a few versions of ASP.NET appear to be installed
concurrently. 1.0, 1.1, and 2.0 as far as I can tell.
>
Any suggestions about to fix this would be greatly appreciated, or
even URLs in the right direction.
>
Thank you!
>


Look at the user that is configured in the application pool. You can find
the application pool in the properties of the website and/or virtual directory
that contains the site you're trying to get to run. Then in the Applications
tree look at the properties of that specific Application Pool. One of the
settings is the username to run it under. That user must have permissions
on quite a few folders to get things to work.

1) Read/Execute on the framework directory (c:\windows\Microsoft.NET\%Version%)
2) Read/write rights in the ASP.NET Temporary Files under the framework directory
3) Read/write rights in the system temp directory (default under c:\windows\temp)
4) Read/Exeute permissions on the folder containing the website
5) maybe even more, but this is all I can think of for now...

Jesse
Jesse Houwing wrote:

Quote:

Originally Posted by

Hello Bolwerk,
>

Quote:

Originally Posted by

>Hello
>>
>I got a client who uses what appears to be ASP.NET 2.0. I come from a
>UNIX/PHP/Apache background, and I'm not too familiar with ASP.NET. He
>had some permissions problem a few weeks ago that I managed to fix.
>Now, he's getting this error (similar to the one a few weeks ago):
>>
>Server Application Unavailable
>The web application you are attempting to access on this web
>server is currently unavailable. Please hit the "Refresh"
>button in your web browser to retry your request.
>Administrator Note: An error message detailing the cause of this
>specific request failure can be found in the application event
>log of the web server. Please review this log entry to discover
>what caused this error to occur.
>I'd actually likely be able to figure this out on my own if the
>administrator note were correct, but I can't find anything in the
>event log about the issue either. Trying to run the application over
>and over produces no record of a problem in the event log.
>>
>The configuration is Windows 2000, with .NET 2.0 the default ASP.NET
>runtime environment. He uses IIS (I'm guessing version 5, but I'm not
>even sure where to look).
>>
>There were some application events earlier today:
>>
>aspnet_wp.exe could not be launched because the username and/or
>password supplied in the processModel section of the config file
>are invalid.
>I see nothing about username/password in the processModel Section of
>that file, which appears to be:
>>
>>
>C:\WINNT\Microsoft.NET\Framework\v2.0.50727\CONFIG \machine.config
>>
>The process model tag seems to concist of:
>>
><processModel autoConfig="true"/>
>>
>Another event:
>>
>aspnet_wp.exe could not be started. The error code for the
>failure is 80004005. This error can be caused when the worker
>process account has insufficient rights to read the .NET
>Framework files. Please ensure that the .NET Framework is
>correctly installed and that the ACLs on the installation
>directory allow access to the configured account.
>I also changed the ASP.NET state service to run on a local system
>account instead of some ASPNET account. I'm not even sure what the
>hell the ASP.NET state service does, so maybe I shouldn't even have
>monkeyed with it.
>>
>I'm noticing that a few versions of ASP.NET appear to be installed
>concurrently. 1.0, 1.1, and 2.0 as far as I can tell.
>>
>Any suggestions about to fix this would be greatly appreciated, or
>even URLs in the right direction.
>>
>Thank you!
>>


>
Look at the user that is configured in the application pool. You can
find the application pool in the properties of the website and/or
virtual directory that contains the site you're trying to get to run.
Then in the Applications tree look at the properties of that specific
Application Pool. One of the settings is the username to run it under.
That user must have permissions on quite a few folders to get things to
work.
>
1) Read/Execute on the framework directory
(c:\windows\Microsoft.NET\%Version%)
2) Read/write rights in the ASP.NET Temporary Files under the framework
directory
3) Read/write rights in the system temp directory (default under
c:\windows\temp)
4) Read/Exeute permissions on the folder containing the website
5) maybe even more, but this is all I can think of for now...
>
Jesse


Hey, thanks for the response, but I don't see anything about an
application pool. Is that an IIS 6.x feature? I think I have IIS 5
here. :|
Server Application Unavailable
re:
!5) maybe even more, but this is all I can think of for now...

Here's the complete list of ACL permissions needed for ASP.NET 2.0:

http://msdn2.microsoft.com/en-us/li...11e(vs.80).aspx
re:
!I don't see anything about an application pool. Is that an IIS 6.x feature?

Yes, it is.

The requisite instructions for an IIS 6.o application are at :
http://msdn2.microsoft.com/en-us/library/ms998297.aspx
re:
!I think I have IIS 5 here.

Indeed, you do, since you're running Windows 2000.

You have all you need to know, for ASP.NET 2.0 on W2K ( IIS 5.0 ), at :
http://msdn2.microsoft.com/en-us/li...11e(vs.80).aspx
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Bolwerk" <bolwerk@dotnet.itags.org.gmail.comwrote in message news:46b37b56$0$31203$4c368faf@dotnet.itags.org.roadrunner.com...

Quote:

Originally Posted by

Jesse Houwing wrote:

Quote:

Originally Posted by

>Hello Bolwerk,
>>

Quote:

Originally Posted by

>>Hello
>>>
>>I got a client who uses what appears to be ASP.NET 2.0. I come from a
>>UNIX/PHP/Apache background, and I'm not too familiar with ASP.NET. He
>>had some permissions problem a few weeks ago that I managed to fix.
>>Now, he's getting this error (similar to the one a few weeks ago):
>>>
>>Server Application Unavailable
>>The web application you are attempting to access on this web
>>server is currently unavailable. Please hit the "Refresh"
>>button in your web browser to retry your request.
>>Administrator Note: An error message detailing the cause of this
>>specific request failure can be found in the application event
>>log of the web server. Please review this log entry to discover
>>what caused this error to occur.
>>I'd actually likely be able to figure this out on my own if the
>>administrator note were correct, but I can't find anything in the
>>event log about the issue either. Trying to run the application over
>>and over produces no record of a problem in the event log.
>>>
>>The configuration is Windows 2000, with .NET 2.0 the default ASP.NET
>>runtime environment. He uses IIS (I'm guessing version 5, but I'm not
>>even sure where to look).
>>>
>>There were some application events earlier today:
>>>
>>aspnet_wp.exe could not be launched because the username and/or
>>password supplied in the processModel section of the config file
>>are invalid.
>>I see nothing about username/password in the processModel Section of
>>that file, which appears to be:
>>>
>>>
>>C:\WINNT\Microsoft.NET\Framework\v2.0.50727\CONFIG \machine.config
>>>
>>The process model tag seems to concist of:
>>>
>><processModel autoConfig="true"/>
>>>
>>Another event:
>>>
>>aspnet_wp.exe could not be started. The error code for the
>>failure is 80004005. This error can be caused when the worker
>>process account has insufficient rights to read the .NET
>>Framework files. Please ensure that the .NET Framework is
>>correctly installed and that the ACLs on the installation
>>directory allow access to the configured account.
>>I also changed the ASP.NET state service to run on a local system
>>account instead of some ASPNET account. I'm not even sure what the
>>hell the ASP.NET state service does, so maybe I shouldn't even have
>>monkeyed with it.
>>>
>>I'm noticing that a few versions of ASP.NET appear to be installed
>>concurrently. 1.0, 1.1, and 2.0 as far as I can tell.
>>>
>>Any suggestions about to fix this would be greatly appreciated, or
>>even URLs in the right direction.
>>>
>>Thank you!
>>>


>>
>Look at the user that is configured in the application pool. You can find the application pool in the properties of
>the website and/or virtual directory that contains the site you're trying to get to run. Then in the Applications
>tree look at the properties of that specific Application Pool. One of the settings is the username to run it under.
>That user must have permissions on quite a few folders to get things to work.
>>
>1) Read/Execute on the framework directory (c:\windows\Microsoft.NET\%Version%)
>2) Read/write rights in the ASP.NET Temporary Files under the framework directory
>3) Read/write rights in the system temp directory (default under c:\windows\temp)
>4) Read/Exeute permissions on the folder containing the website
>5) maybe even more, but this is all I can think of for now...
>>
>Jesse


>
Hey, thanks for the response, but I don't see anything about an application pool. Is that an IIS 6.x feature? I
think I have IIS 5 here. :|


Juan T. Llibre wrote:

Quote:

Originally Posted by

re:
!5) maybe even more, but this is all I can think of for now...
>
Here's the complete list of ACL permissions needed for ASP.NET 2.0:
>
http://msdn2.microsoft.com/en-us/li...11e(vs.80).aspx
>
re:
!I don't see anything about an application pool. Is that an IIS 6.x feature?
>
Yes, it is.
>
The requisite instructions for an IIS 6.o application are at :
http://msdn2.microsoft.com/en-us/library/ms998297.aspx
>
re:
!I think I have IIS 5 here.
>
Indeed, you do, since you're running Windows 2000.
>
You have all you need to know, for ASP.NET 2.0 on W2K ( IIS 5.0 ), at :
http://msdn2.microsoft.com/en-us/li...11e(vs.80).aspx


Thank you.

Sadly, I don't think that was the problem either. I'm getting more
stumped. I think I can eliminate permission problems (they seem too
liberal, actually).

I looked over
http://msdn2.microsoft.com/en-us/li...11e(vs.80).aspx and
compared to my configuration don't really see any problems.

I take it this "application pool" problem is irrelevant to my situation,
since I have IIS 5.x, not 6.x.
First, thanks again for the help. I must seem like a complete newb
today. :-D

Jay wrote:

Quote:

Originally Posted by

State service most likely is not necessary.


Okay, I disabled it again. It was disabled before.

Quote:

Originally Posted by

Check the ASPNET account in the operating system security and make
sure the account is not disabled.


That seemed to check out. The password was set to never expire, and not
be user-changeable.

Quote:

Originally Posted by

If the .net app is using impersonation, look at what user it is mapped
to in the app's web.config file, and then check that in the os
security as well and make sure that isn't disabled too. A lot of our
customers do the latter and don't realize that their 'user password
expire every X days' actually bombs the web app after X days pass and
the account disables.


I'm not clear what impersonation is.

I can tell you the web.config file in the ASP.NET tab in the web server
points to C:\Inetpub\[www directory]\web.config as the "file location"
(I'm guessing for the server config). The file didn't exist, although a
file called "Web.config TEST" did. I cut and pasted this file as
web.config and tried the application again. No luck. :|

In the web config file under the framework in the WINNT directory, I have:

<authorization>
<allow users="*" />
</authorization>

Still get the same error though:

Server Application Unavailable

The web application you are attempting to access on this web
server is currently unavailable. Please hit the "Refresh"
button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event
log of the web server. Please review this log entry to discover
what caused this error to occur.

Like I said before, doesn't appear to be a permission problem. Also
appears I have IIS 5.0, so it's not a application pool problem (from my
understanding of how IIS is configured).
On Aug 3, 5:32 pm, Bolwerk <bolw...@dotnet.itags.org.gmail.comwrote:

Quote:

Originally Posted by

First, thanks again for the help. I must seem like a complete newb
today. :-D
>
Jay wrote:

Quote:

Originally Posted by

State service most likely is not necessary.


>
Okay, I disabled it again. It was disabled before.
>

Quote:

Originally Posted by

Check the ASPNET account in the operating system security and make
sure the account is not disabled.


>
That seemed to check out. The password was set to never expire, and not
be user-changeable.
>

Quote:

Originally Posted by

If the .net app is using impersonation, look at what user it is mapped
to in the app's web.config file, and then check that in the os
security as well and make sure that isn't disabled too. A lot of our
customers do the latter and don't realize that their 'user password
expire every X days' actually bombs the web app after X days pass and
the account disables.


>
I'm not clear what impersonation is.
>
I can tell you the web.config file in the ASP.NET tab in the web server
points to C:\Inetpub\[www directory]\web.config as the "file location"
(I'm guessing for the server config). The file didn't exist, although a
file called "Web.config TEST" did. I cut and pasted this file as
web.config and tried the application again. No luck. :|
>
In the web config file under the framework in the WINNT directory, I have:
>
<authorization>
<allow users="*" />
</authorization>
>
Still get the same error though:
>
Server Application Unavailable
>
The web application you are attempting to access on this web
server is currently unavailable. Please hit the "Refresh"
button in your web browser to retry your request.
>
Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event
log of the web server. Please review this log entry to discover
what caused this error to occur.
>
Like I said before, doesn't appear to be a permission problem. Also
appears I have IIS 5.0, so it's not a application pool problem (from my
understanding of how IIS is configured).


What Framework are you using?

I know sometimes this works C:\WINDOWS\Microsoft.NET\Framework
\CorrectVersionHere\aspnet_regiis -i

This is pretty harmless to run and it refreshes IIS mappings/
permissions that may have been mucked with. Make sure you go through
the correct version subdirectory though...