Visual Studio ClickOnce deployment issue

Stimulsoft Ultimate discussion
Post Reply
Jean-Yves
Posts: 7
Joined: Mon Jul 15, 2013 6:42 am

Visual Studio ClickOnce deployment issue

Post by Jean-Yves »

Hello,

I built a VS2012 project which aim is to expose a StimulSoft report in a WinForm app. This means the use of StimulSoft Ultimate report viewer control on .NET 4.5 x64 environment.
=> the app works fine on my dev side (Windows 7 x64)

In order to deploy this app on an ESX server (Windows 2008 R2 x64) for virtualization behaviour testing purpose, I added a ClickOnce project to my solution. Deploying StimulSoft libraries was not a point, I activated local copy of references in my app project and it worked.

When I run my app on server-side, the exception below raises
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\jeanyves\AppData\Local\Apps\2.0\1LJ1RRM7.L59\D95PM8XA.0Z6\repo..tion_92e87fbeb697d4c3_0001.0000_845e21c4b0b296a6\Reports\StimulSoft.mrt'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at Stimulsoft.Report.StiReport.Load(String path)
at ReportingToolComparer.MainWindow.btnRenderWithStimulSoft_Click(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Is there anything I shouyld be aware of, regarding SSU deployment with ClickOnce? I know about deploying SSU stuff in the GAC being worth it, but is this the point? Or is it "roaming" issue?

Thanks for advising,
Jean-Yves
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Visual Studio ClickOnce deployment issue

Post by HighAley »

Hello.

Please, check if there is such directory or do you have access to it.

Thank you.
Post Reply