Click here to Skip to main content
15,881,588 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to get/set session variables in httpModule? Pin
Rip Kirby30-Oct-07 6:31
Rip Kirby30-Oct-07 6:31 
AnswerRe: How to get/set session variables in httpModule? Pin
Jon Sagara30-Oct-07 8:57
Jon Sagara30-Oct-07 8:57 
AnswerRe: How to get/set session variables in httpModule? Pin
N a v a n e e t h30-Oct-07 19:17
N a v a n e e t h30-Oct-07 19:17 
GeneralRe: How to get/set session variables in httpModule? Pin
Rip Kirby30-Oct-07 23:02
Rip Kirby30-Oct-07 23:02 
QuestionASP.Net, Stop/Start windows scheduled jobs Pin
Al Rosciano30-Oct-07 6:29
Al Rosciano30-Oct-07 6:29 
QuestionDatalist not rebinding Pin
acodman30-Oct-07 6:17
acodman30-Oct-07 6:17 
AnswerRe: Datalist not rebinding Pin
Saksida Bojan30-Oct-07 7:22
Saksida Bojan30-Oct-07 7:22 
QuestionWebService with ASP.net ERROR Pin
kendo1730-Oct-07 5:42
kendo1730-Oct-07 5:42 
I am trying to begin a simple web service application in ASP.NET. The app is to FlightRight, For this simple example, the service will support a single method, called FlightStatus. Clients call this method, passing it a flight number, and our service will return the expected arrival time of the flight. Simple right. not for me . Keep getting this error. Can somebobody please tell me where i am going wrong.

Code here
<WebService(Namespace="http://localhost/FlyRight/", _<br />
Description="Flight Information Service") _<br />
Public Class FlightStatus<br />
 <br />
<WebMethod(Description="Submit the Flight Number _<br />
and a time will be returned.")> _<br />
    Public Function ArrivalTime(ByVal FlightNum As String) As String<br />
<br />
        Dim theTime As String<br />
<br />
        Select Case FlightNum<br />
            Case 1001<br />
                theTime = "12:30 AM EST"<br />
            Case 2002<br />
                theTime = "4:15 PM EST"<br />
            Case Else<br />
                theTime = "INVALID FLIGHT NUMBER"<br />
        End Select<br />
        Return theTime <br />
End Function


Error
Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\flyright\1c2b63af\df178987" is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\flyright\1c2b63af\df178987" is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true">, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
AnswerRe: WebService with ASP.net ERROR Pin
Paddy Boyd30-Oct-07 5:52
Paddy Boyd30-Oct-07 5:52 
Questionhow to unlock design mode in debugging Pin
Farhad Eft30-Oct-07 4:47
Farhad Eft30-Oct-07 4:47 
AnswerRe: how to unlock design mode in debugging Pin
pmarfleet30-Oct-07 5:57
pmarfleet30-Oct-07 5:57 
Questionhelp needed developing chat application ( with notification server) Pin
sarat12in30-Oct-07 4:43
sarat12in30-Oct-07 4:43 
AnswerRe: help needed developing chat application ( with notification server) Pin
Christian Graus30-Oct-07 11:09
protectorChristian Graus30-Oct-07 11:09 
QuestionParsing URL for subdomain only Pin
csinva30-Oct-07 4:39
csinva30-Oct-07 4:39 
QuestionProblem with DataReader............ Pin
Deepak Nigam30-Oct-07 3:30
Deepak Nigam30-Oct-07 3:30 
AnswerRe: Problem with DataReader............ Pin
ToddHileHoffer30-Oct-07 3:33
ToddHileHoffer30-Oct-07 3:33 
AnswerRe: Problem with DataReader............ Pin
Herman<T>.Instance30-Oct-07 3:50
Herman<T>.Instance30-Oct-07 3:50 
AnswerRe: Problem with DataReader............ Pin
Abhijit Jana30-Oct-07 3:52
professionalAbhijit Jana30-Oct-07 3:52 
QuestionHow to access one Control from master page using Javascript Pin
VenkataRamana.Gali30-Oct-07 3:21
VenkataRamana.Gali30-Oct-07 3:21 
AnswerRe: How to access one Control from master page using Javascript Pin
ToddHileHoffer30-Oct-07 3:37
ToddHileHoffer30-Oct-07 3:37 
QuestionDocumnetation generator Pin
samerh30-Oct-07 3:07
samerh30-Oct-07 3:07 
AnswerRe: Documnetation generator Pin
Abhijit Jana30-Oct-07 3:14
professionalAbhijit Jana30-Oct-07 3:14 
GeneralRe: Documnetation generator Pin
samerh30-Oct-07 3:30
samerh30-Oct-07 3:30 
GeneralRe: Documnetation generator Pin
Abhijit Jana30-Oct-07 3:47
professionalAbhijit Jana30-Oct-07 3:47 
Questiondatagrid paging Pin
jai 12330-Oct-07 3:05
jai 12330-Oct-07 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.