on 06-24-2008 5:51 AM
Hai To All,
I created one module in vb.net code.When i run the application its working fine. Then i created .ard file for that addon. When i run the ard file its giving following error.
"An attempt was made to reference a token that does not exist."
"SAP Business One application not found"
Its an urgent requirement can anyone help me out......
Regards,
Anitha
Anitha,
I expect, that from delevopment its working fine and you have created installer for the exe file you created from Visual Studio and to exe created from installer you made ard file. ok?
If yes, the error occurs by installation of the addon - select ard file, than is automatically filled exe file and you click Install button?
If yes, is the same problem on all pcs or only on one specific computer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
s it works.I just explain in brief.
I have Project 1,Project 2 and my addon
I Convert the Project 1 and Project 2 as .dll. Becoz there is some function where iam refering to my addon.
I open the application and run my code that time all working fine. Now i want to give it to my client so iam converting that addon to .ard file. While creating .ard i knw tht it will ask all the refernce file of my project. so i include all the files and .dll files.
After creating .ard file iam installed in Addon Administration. While i click the start button the addon gets connecting tht time i had this error.
Regards,
Anitha
Anitha,
the problem is, that when you are including the dll files to your instal file for addon, there the dll files will be only copied to addon destination path and not registered. I think that solution for this should be:
1. inside of instalation process after copying dll files register it as regsvr32 name.dll
or
2. before instalation of addon copy and register the dll libraries
You have the dll files as embeded resource in addon, ok? In installation process the emebedded resources are copied into addon instalation directory. The problem is, that the file is only copied, but not registered and the dll files needs to be register with regsrv32 nameoffile.dll
The registering you should do after copuing the files. Is it clear now?
I dont know how you have installer created, but before ending the installer register the files as
regsrv32 path/nameoffile1.dll
regsrv32 path/nameoffile2.dll
this should done for example so, that you will create some bat file, inside this bat file will be the lines above and you will call the bat file as
System.Diagnostics.Process.Start("C:\register.bat")
Petr,
Before creating addon iam registering as regsvr32 "<filename.dll>". But there is an error
*"Client.dll was loaded,but the DllRegistrServer entry point was not found.
DllRegisterServer may not be exported, or a corrupt in memory"*
wht to do dont knw? Do u have any idea abt this??
Or is there any other way?
Regards,
Anitha
Anitha,
I dont know, but with google I found one page which should solve your problem
Nobody have idea about this.................
Regards,
Anitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.