Hello,
I believe that this problem is not strictly related to StimulSoft Reports but you are the best one I could ask so please help me.
My application are still produced in WIN32 environment so I made Assembly to connect with StiReport. This assembly works with no problems if I put my application and all needed dll's on local drive but if I put the very same folder with no changes at all on network drive and run application from that network folder than my application always GPF. If StiReport.Net was installed on that PC (it may be some older version, not current that I am using now) than application works and reports are Ok.
I made little investigation and found that this example procedure not run at all:
[ExportDllAttribute.ExportDll("StiResetReport",System.Runtime.InteropServices.CallingConvention.Cdecl)]
public static void ResetReport()
{
MessageBox.Show("StiResetReport PRE Load");
StiConfig.Load();
MessageBox.Show("StiResetReport PRE Services");
Stimulsoft.Base.Services.StiService aa = Stimulsoft.Report.StiConfig.Services.GetService(typeof(Stimulsoft.Report.Components.StiText));
MessageBox.Show("StiResetReport PRE New Report");
report = new StiReport();
MessageBox.Show("StiResetReport PRE StiConfig.Load");
Stimulsoft.Report.StiConfig.Load();
}
This Messages in this function are here only for debugging purpose.
Why is this difference? What did I miss?
Regards,
Dikan
Need help
Need help
Hello,
Please check the following article in the Microsoft knowledgebase: "How to deploy a .NET Framework application to run from a network location"
http://support.microsoft.com/kb/832742/en-us?fr=1
Thank you.
Please check the following article in the Microsoft knowledgebase: "How to deploy a .NET Framework application to run from a network location"
http://support.microsoft.com/kb/832742/en-us?fr=1
Thank you.
Need help
You should also look into the "caspol"-command if you want to configure it commandline.
http://msdn.microsoft.com/en-us/library ... 80%29.aspx
For example:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -q -ag 1 -url "file://\\servername\sharename\*" FullTrust -exclusive on -name "Application Name here"
http://msdn.microsoft.com/en-us/library ... 80%29.aspx
For example:
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -q -ag 1 -url "file://\\servername\sharename\*" FullTrust -exclusive on -name "Application Name here"
Using Stimulsoft since 2007
Need help
Thanks Ivan and Joris. I suspect that only access right can cause my problem but I do not now about dot net enough to solve it promptly.
I believe that these information are valuable for all others members.
Regards,
Dikan
I believe that these information are valuable for all others members.
Regards,
Dikan