Registering Dll's in a multiuser environment on Citrix
BEsterhuizen
Member Posts: 13
Hi All
Hopefully someone has experienced the same problems when registering Dll's on a Citrix server and can indicate the correct way of doing it?
We are running loads of Dll's and i have created a bat file which takes care of this. Before running the bat file I do run the command to enable the install mode on Citrix [change user /install] and then run my bat file and it all registers the DLL’s correctly. Then I run the execute command again [change user /execute] and test the dll’s and all seems fine. However when I run it as a different user it does not work correctly. After lots of testing I realised that it only installed it for the current user but if I copy the bat file to a shorter path Bat File B it works perfectly and I can’t explain it!!!!!
regasm version no: 2.0.50727.42
Batfile A:
SET NAVPATH32bit= "D:\Program Files\Microsoft Dynamics NAV\60\Classic R2\Add-ins"
copy /y RegAsm.exe %NAVPATH32bit%
copy /y FtpUploader.dll %NAVPATH32bit%
copy /y FtpUploader.tlb %NAVPATH32bit%
REM /* change directory to register dll's from copied location */
CD %NAVPATH32bit%
regasm /u FtpUploader.dll
regasm FtpUploader.dll /codebase /tlb
Bat File B:
SET NAVPATH32bit= "D:\ BatFileProcess"
copy /y RegAsm.exe %NAVPATH32bit%
copy /y FtpUploader.dll %NAVPATH32bit%
copy /y FtpUploader.tlb %NAVPATH32bit%
REM /* change directory to register dll's from copied location */
CD %NAVPATH32bit%
regasm /u FtpUploader.dll
regasm FtpUploader.dll /codebase /tlb
Hopefully someone has experienced the same problems when registering Dll's on a Citrix server and can indicate the correct way of doing it?
We are running loads of Dll's and i have created a bat file which takes care of this. Before running the bat file I do run the command to enable the install mode on Citrix [change user /install] and then run my bat file and it all registers the DLL’s correctly. Then I run the execute command again [change user /execute] and test the dll’s and all seems fine. However when I run it as a different user it does not work correctly. After lots of testing I realised that it only installed it for the current user but if I copy the bat file to a shorter path Bat File B it works perfectly and I can’t explain it!!!!!
regasm version no: 2.0.50727.42
Batfile A:
SET NAVPATH32bit= "D:\Program Files\Microsoft Dynamics NAV\60\Classic R2\Add-ins"
copy /y RegAsm.exe %NAVPATH32bit%
copy /y FtpUploader.dll %NAVPATH32bit%
copy /y FtpUploader.tlb %NAVPATH32bit%
REM /* change directory to register dll's from copied location */
CD %NAVPATH32bit%
regasm /u FtpUploader.dll
regasm FtpUploader.dll /codebase /tlb
Bat File B:
SET NAVPATH32bit= "D:\ BatFileProcess"
copy /y RegAsm.exe %NAVPATH32bit%
copy /y FtpUploader.dll %NAVPATH32bit%
copy /y FtpUploader.tlb %NAVPATH32bit%
REM /* change directory to register dll's from copied location */
CD %NAVPATH32bit%
regasm /u FtpUploader.dll
regasm FtpUploader.dll /codebase /tlb
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 329 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions