468,103 Members | 1,243 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,103 developers. It's quick & easy.

Whats wrong

aa
When I am reading from local disk (d:), everithing is OK, but then I am
reading from map disk I am geting the this error. Whats wrong. Thanks
Server Error in '/Extra' Application.
----------------------------------------------------------------------------
----

The specified user does not exist.
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.IO.IOException: The specified user does not exist.

Source Error:

Line 106: Dim parkas As String
Line 107: parkas = "Z:\USERS\PLANING\PARKAS1\pask" &
Format(Now.Month, "00")
Line 108: fsInput = New FileStream(parkas & ".asc",
FileMode.Open, FileAccess.Read)
Line 109: 'fsInput = New
FileStream("\\server\sys\USERS\PLANING\PARKAS1\pas k05.asc", FileMode.Open,
FileAccess.Read)
Line 110: 'fsInput = New FileStream("d:\db\pask05.asc",
FileMode.Open, FileAccess.Read)

Source File: C:\Inetpub\wwwroot\Extra\Default.aspx.vb Line: 108

Stack Trace:

[IOException: The specified user does not exist.
]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +723
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean
bFromProxy) +888
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
+43
Extra.WebForm1.btnRodyti_Click(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\Extra\Default.aspx.vb:108
System.Web.UI.WebControls.Button.OnClick(EventArgs e)

System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePo
stBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
System.Web.UI.Page.ProcessRequestMain() +1277

----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Nov 18 '05 #1
1 2127
Apparently, the User account under which your ASP.Net app is running is a
local machine user, not recognized by the network.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"aa" <aa@centars.lt> wrote in message
news:ux**************@TK2MSFTNGP10.phx.gbl...
When I am reading from local disk (d:), everithing is OK, but then I am
reading from map disk I am geting the this error. Whats wrong. Thanks
Server Error in '/Extra' Application.
-------------------------------------------------------------------------- -- ----

The specified user does not exist.
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.IO.IOException: The specified user does not exist.
Source Error:

Line 106: Dim parkas As String
Line 107: parkas = "Z:\USERS\PLANING\PARKAS1\pask" &
Format(Now.Month, "00")
Line 108: fsInput = New FileStream(parkas & ".asc",
FileMode.Open, FileAccess.Read)
Line 109: 'fsInput = New
FileStream("\\server\sys\USERS\PLANING\PARKAS1\pas k05.asc", FileMode.Open,
FileAccess.Read)
Line 110: 'fsInput = New FileStream("d:\db\pask05.asc",
FileMode.Open, FileAccess.Read)

Source File: C:\Inetpub\wwwroot\Extra\Default.aspx.vb Line: 108

Stack Trace:

[IOException: The specified user does not exist.
]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +723
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) +43
Extra.WebForm1.btnRodyti_Click(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\Extra\Default.aspx.vb:108
System.Web.UI.WebControls.Button.OnClick(EventArgs e)

System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePo stBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
System.Web.UI.Page.ProcessRequestMain() +1277

-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Chris Geerdink | last post: by
4 posts views Thread by asdf | last post: by
5 posts views Thread by Alexandre Martins | last post: by
3 posts views Thread by mahsa | last post: by
4 posts views Thread by blah | last post: by
5 posts views Thread by islayer | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.