cancel
Showing results for 
Search instead for 
Did you mean: 

B1DE setup error

Former Member
0 Kudos

Hi Friends

I m using B1DE to create a setup for SAP B1. As per the instuction given in file. I have created. But I am facing the 2 Problems.

1. To create ARD File there is one batch file. when run it create ARD file for us.

But it is not creating ARD File. I open that bat file but did not find any information about ARD file (i.e filename having extension .ard). So I proceed for Manual Creation of ARD File). Now the setup is running.

2. But In bettween the installation, It flashes the message

"Exception occured while initilizing the installation

System.io.filenotfoundexception, could not load file or assembly

'file:///C:\WINDOWS\system32\Files\SAP\SAP or one of it's dependencies. the system can not find the file specified."

After that Installation RollBack;

Need urgent Help......

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manish

I think You are not Following right steps..

Please Be carefull about steps... I am sending u some steps try to this and Check this...

Fistly Release Your Project.

1. Create a new Project.

2. Select VB B1 AddOnInstaller Setup .NET type project

3. Fill the all Parameters : like application Name,Version,estimated Installation Time=180,estimated UnInstallation Time=180

4. Checked Restart Needed Check Box.

5. Add Exe file From Project-> Bin-> Release--> Project.exe

These are the Priamry Step

6.Choose Solution Explorer Right Click on SETUP.

then SETUP->View->File System

7. Application Folder -> add File --> add Your all file of bin->Release Folder

8. if u have Crystal Reports then

add new folder for crystal report then add all file of reports into this folder ...

Oltherwise no need to follow this step..

9. Exclude SAPBOBSCOM2005.dll, SAPBOUICOM.exe only.. Note : don't exclude other file..

10. Choose Solution Explorer > SETUP>ADD--> Project Output -- then Click on OK

11. SETUP> View> Custom Actions -->

Right click on custom Action > Add Custom Action> then u will get

Appliaction Folder Window.. Choose --> Primary Output for CustomerLibrary then OK

then U will get Priamry Output from CustomerLibrary (Active) in Each Part

Install--Priamry Output from CustomerLibrary (Active)

Commit--Priamry Output from CustomerLibrary (Active)

RollBack--Priamry Output from CustomerLibrary (Active)

Uninstall--Priamry Output from CustomerLibrary (Active)

then Choose Commit...

Right Click On Commit--Priamry Output from CustomerLibrary (Active)

U will Get Properties window Option and click on this...

then Go in solution explore -> TODO.txt

and Paste this /target="[TARGETDIR]\" (Note Paste only this.. does not paste path .. it will take auto matically)

Paste this into Properties window of COMMIT->Custom Action Data

then Press Enter...

Click on solution Explorer and Click on SETUP and Press F4...

then u will get property window ..

then

Fill this : Author , Manufacturere,Product Name,Title- Project's title..

then click on Upgrade code--> new Code

Right Click on Customer Library-->Project Dependencies --

Choose your Project --> and then Checked all of the checkd box.. ...

then Rebuild Your project from Solution Explorer..

and Click on AddOnREgDataGen File... this file U can Find( Project which you are creating Currently -->

D:\NewARD\NewARD\NewARD\AddOnRegDataGenFile Like this..

and picked the ARD from D:\NewARD\NewARD\NewARD\bin folder....

Former Member
0 Kudos

Dear Depak,

Thankx for your kind help. I got the mistake where i was doing.

Now my AddOn Installation is successfully completed.

<b>After completing the installation of AddOn when i start AddOn. It says the message. "Wrong Digital Signiture"</b>

Former Member
0 Kudos

Manish,

face this problem. The thing is u ur system got virus its shows this error. Do ur Addon in another system.

Else Before u make a addon u delete the .exe file of ur project and run that project and take that .exe file for ur addon. It will Work

If this helps give me points,

Regards,

Anitha

Former Member
0 Kudos

Dear Nazir,

Say Cheessssssssssss

Thankyou so much Nazir for helping me. You help me lot.... My AddOn is working absolutly fine

Bye Take Care,

Meet u soon with new queries.

Once again Thanx

Former Member
0 Kudos

Thanks Manish,

If u r satisfied give me points..........

Regards,

Anitha

Former Member
0 Kudos

Hi Nazir,

Good Morning. I am back with some new queries. If you any Idea about the following qustion then please share with me.

1. I would like to retrive the password of sa

Why: - I am using C#.net for customizing the reports and in that report I am using sql connection to fetch the data from sqlserver. to fetch the data in report i need connection string, and to build connection string i need username and password. username will be 'sa' but what about password. Is there any way to retrive password of sa through sql server or through sap as sap is also using the same condition. if we retrive the password or connectionstring or device context which represent connection string then my work could be easier.

2. I would like to retrive the password of manager (in SAP)

Why: - By default SAP uses manager/manager (username and password) . Now I would like to get the company object. (see example)

SAPbobsCOM.Company company = new SAPbobsCOM.Company();

company.Server = app.Company.ServerName;

<b>company.UserName = app.Company.UserName;</b>

<b>company.Password = "manager"; //(hard coded)</b>

company.language = SAPbobsCOM.BoSuppLangs.ln_English;

int hResult = company.Connect();

See the Bold Line.... Here we have username property to retrive the username. but what about the password Here I have hardcoded. if the user changes the password this code will definetly fail.

3. How to animate the user define form which we created by programmatically in SAP. as the sap use animation for opening there form.

Bye

Take Care

Regards

Former Member
0 Kudos

Hai Manish,

We can take by

com.password=app.password

but it wont show the letters it will be in * encrypted data will be shown.

Sorry for inconvenince

Regards,

Anitha

Former Member
0 Kudos

Hi Nazir,

Please check the app.password.... this method / property is missing in app class (here app means reference of sap application) and what about the remaining questions.

Former Member
0 Kudos

Hey its

com.password=com.password

Regards,

Anitha

Former Member
0 Kudos

Hi,

SAPbobsCOM.Company company = new SAPbobsCOM.Company();

company.Server = app.Company.ServerName;

company.UserName = app.Company.UserName;

company.Password = "manager"; //(hard coded)

company.language = SAPbobsCOM.BoSuppLangs.ln_English;

please make the correction on this code...

app : - is my reference to sap application

company : - it is my company object and to establish the connection with the company we need to pass some credentials like server , username password, langauage etc....

In the next line I am setting the credentials. every thing is ok but what about the password.

Answers (1)

Answers (1)

Former Member
0 Kudos

Manish,

If u want to create ard file u follow this instruction...

1) Go to Visual Studio .Net

2) Click New Project in File menu

3) There choose Sap B1 AddOnInstraller .Net Wizard

4) Its will ask for Name, Version, Time

5) Then ask for .exe files

The .ard file will be created.

After that go to SAPB1 there go to administration -> AddOn -> AddOnManager

Click Register AddOn give the ard file and install it will work fine.

If it helps give me reward points,

Thanx,

Regards,

Anitha

Former Member
0 Kudos

Dear Ani,

The same thing i was doing. but it won't work. I mean it does not create ARD file through batch file create in project. I created it manually.

After that when installation start it shows the error of missing some files. As I allready mention in my prev. query.