Re: Permission Issues?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I do that and still doesn't copy the file, another Idea please?

En Thu, 31 Jan 2008 06:23:49 -0500, Michael Nemtsev [MVP] <nemtsev@xxxxxxx> escribió:

Hello Claus,


are u calling this from asp.net?
U shoud use Server.MapPath for this then http://msdn2.microsoft.com/en-us/library/system.web.httpserverutility.mappath.aspx

---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo CF> To make it simple, I'm doing this
CF> CF> Dim Location As String = AppDomain.CurrentDomain.BaseDirectory &
CF> "reports\baseReport1.xls"
CF> System.IO.File.Copy(AppDomain.CurrentDomain.BaseDirectory &
CF> "reports\baseReport.xls", Location)
CF> Response.Redirect("~/reports/baseReport1.xls")
CF> CF> Works fine in my computer, no problem, But in the server don't copy
CF> the file so the Response.Redirect show me a Page Not Found message.
CF> CF> I gave all permissions to All User but still don't copy how can I
CF> solve this, help please?
CF>

.



Relevant Pages

  • mssql_execute returns 1
    ... There are multiple result sets coming back from the ... I'm calling another procedure using the same code, ... Is this a permissions thing on the server? ...
    (php.general)
  • RE: ceicw fails every time
    ... I'd like confirming CEICW steps with you to ensure there is not problem ... You have to rerun the CEICW to make sure your SBS 2003 server have right ... On the "Services Configuration" page, select all the items and then ... Calling CCertCommit::ValidatePropertyBag ...
    (microsoft.public.windows.server.sbs)
  • CEICW fails at network
    ... I have recently taken over the support of a site with SBS 2003 Premium ... had not prevously been run on the server so I ran the wizard to setup the RWW. ... Call to Reading hardware selection returned ok. ... calling CNetCommit::ValidateRouterConnectionProperties. ...
    (microsoft.public.windows.server.sbs)
  • Re: Can not access Web and FTP sites from Internet
    ... IP address to your router? ... unless you host a web site in your server. ... use the port 443 which is SSL more secure. ... > calling CNetCommit::ValidateRouterConnectionProperties. ...
    (microsoft.public.windows.server.sbs)
  • CEICW Fails at RegisterMSBOExchangeBP
    ... Ethernet adapter Server Local Area Connection: ... Call to Reading hardware selection returned ok. ... calling CNetCommit::ValidateRouterConnectionProperties. ... Call to Reading preferred DNS server IP returned ok. ...
    (microsoft.public.windows.server.sbs)