After publishing a program based on Windows Forms, the stimul soft file is not found - stimulsoft

After publishing a Windows Forms program the StimulSoft reporeter file not found.
My program is Windows application.
Error.

It seems you didn't load your .mrt file correctly. Copy it in your .exe (Debug) folder and use this code:
stiReport1.Load(Application.StartupPath + "\\MyReport.mrt");

Related

Error : -7132: An error occurred streaming ISSetup.dll support file Script Files\Setup.inx

I have installscript in Basic MSI Installshield Project which works perfectly when using InstallShield 2015 IDE. But, when using Installshield cmdline on a separate machine, getting this error -
"Error : -7132: An error occurred streaming ISSetup.dll support file
..\Script Files\Setup.inx" .
All the necessary files are in place for building Installshield project.There are other projects which are using same installscript and running absolutely fine using Installshield cmdline on the same machine.
Any help would be appreciated.
Thanks
Well, the separate machine is a different environment.
Different environment, different file locations.
That kind of compilation error is usually related with link files problems. Like a linked rul not available.
Check the relative links to every .rul in your project, specially if you have custom .rul files.

How to pack code and folder become a installer

I creating an windows forms application to configure IIS website application and also copy folder to selected location by user using visual c# 2010 express.
I want to pack the folder and application to become an executable file, like installer.
I can't find the setup template in Visual C# 2010 express.
Is there any way to pack the folder and the application to become an executable file?
One of the method that i found is use winrar. It can pack files/folder that the application needed to run into an executable file.

HRESULT 0x8007006E on including a DLL into a project 'lib' folder

For a project I am working on, my team generates reports on the server with ActiveReports. We've generated a License DLL that allows report functionality to work.
In our VS2012 solution, we've included a /lib/ directory that holds certain external DLLs, such as the ActiveReports assemblies and this license DLL.
However, upon attempting to add the DLL to the project, we get two errors, back to back. I attempted to add the extant DLL using these steps:
In VS 2012, right click our /lib/ folder, and click 'Add Existing Item...'
Browse to the Windows directory where the License DLL Is and select it, click Open.
Upon doing this, though, I receive two errors back to back:
Could not open the file
The system cannot open the device or file specified. (Exception from HRESULT: 0x8007006E)
I have checked my local operating system permissions to ensure that the folder the DLL lives in is accessible, and that the path of the object that appears in VS 2012 points to the correct place. Question: What is causing this error? Surely, I'm missing something...
I received the same error trying to open a file with VS's binary editor. The file was already open in another app. After closing the other app and I was able to open the file in VS without error.

could not load assembly or one of its dependencies. The system cannot find the file specified

I am working on a windows application and I am using another dll with name diffplex. I have stored it in the bin folder of my solution. in properties I have set it as copy local = false.
When I am running the program from visual studio it is working fine. But when I copy exe from bin to some other location and try to use this application I am getting this error - "could not load assembly or one of its dependencies. The system cannot find the file specified"
Please find the screen shot attached. But I want to give my client only exe file not the dll file. What can I do.
Hi Finally the issue has been fixed. A tool MS ILmerge is used which on post build event makes both exe and dll as one file

Debug a custom solution for Sharepoint 2010 in visual studio

I built the WSP file manually (using CAB utility) and uploaded them to the sharepoint 2010 server. I want to debug the dll that was packaged in that WSP file to test if the events are caught by the listener. I attached to w3wp.exe (all instances that appears). however I find that the symbols are not loaded for any break point to be hit and the thread is getting exited with some run time exception.
what Am I missing here ? Do I have to copy my PDB files at any particular location ?
thanks
you have the answer in your question. yes you have to upload your pdb file to GAC using command prompt and copy statement
which would be available under
C:\WINDOWS\assembly\GAC_MSIL> in directory form open it and copy your pdb thier
or easier option is compile your wsp in debug format
You don't need to copy the PDB symbols file into the GAC if Visual Studio is configured correctly :-
Fortunately, it's just as easy to
debug in the GAC as it is in BIN if
you configure the development
environment correctly.
Unfortunately,
few know how to do this because the
internet is polluted with pages full
of bad information that is a held over
from previous versions of .Net.
You
can spot these easily because they
will say you need to copy the debug
symbols (.pdb file) to the GAC. In and
of itself, that will not work. These
days it is also completely
unnecessary.
To configure VS ... to debug the
assemblies properly, do the following:
You mention the Sandbox tag in your question, so you have to attach to SPUCWorkerProcess.exe and not w3wp.exe, the sandbox code runs in an isolated worker.

Resources