Click here to Skip to main content
14,844,044 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Convert 2003 to 2005 Errors Pin
Dave Kreskowiak3-May-07 13:34
mveDave Kreskowiak3-May-07 13:34 
GeneralRe: Convert 2003 to 2005 Errors Pin
Central_IT4-May-07 1:36
MemberCentral_IT4-May-07 1:36 
GeneralRe: Convert 2003 to 2005 Errors Pin
Dave Kreskowiak4-May-07 2:31
mveDave Kreskowiak4-May-07 2:31 
QuestionCreating a Help System for a VB.NET Project Pin
RichFeldman3-May-07 8:23
MemberRichFeldman3-May-07 8:23 
AnswerRe: Creating a Help System for a VB.NET Project Pin
MatrixCoder3-May-07 11:19
MemberMatrixCoder3-May-07 11:19 
Question[02/03] Please help graphing datasource Pin
Srigopal0073-May-07 8:19
MemberSrigopal0073-May-07 8:19 
QuestionError While Creating Publish Pin
vurugonda3-May-07 7:53
Membervurugonda3-May-07 7:53 
QuestionInstalling a Windows Service and the GAC Pin
Terry Porter3-May-07 6:04
MemberTerry Porter3-May-07 6:04 
I have a Windows Service written in VB.NET 2005 that consists of an EXE, a private DLL and a shared DLL. I install the EXE and private DLL to the Application Folder and the shared DLL to the GAC. I am installing on a Windows Server 2003 system.

The installation worked fine (or appeared to) when the shared DLL was already in the GAC (because another application installed it there). The first time I tried to do the install on a system where the shared DLL was not in the GAC it failed with an error that indicated that a component was missing.

It appears that when the install has finished copying files and runs InstallUtil to install the EXE file as a Windows Service it fails because it can not find the shared DLL. If I copy the shared DLL to the GAC or the Application Folder prior to the install the error does not occur. If I install the shared DLL to the Application Folder instead of the GAC the error does not occur (except now other applications can not share the DLL). If I install the shared DLL to both the GAC and the Application Folder the error does not occur.

I have adopted the last workaround as a temporary fix but I would like to install a single copy of the shared DLL into the GAC.

Has anyone seen this issue before and/or know of a solution?

BTW The problem does not occur if the exe is not a Windows Service presumably because the installation is not attempting to load any application code during the install.

Terry Porter
AnswerRe: Installing a Windows Service and the GAC Pin
kubben3-May-07 6:24
Memberkubben3-May-07 6:24 
GeneralRe: Installing a Windows Service and the GAC Pin
Terry Porter3-May-07 6:33
MemberTerry Porter3-May-07 6:33 
Questionsearch for files Pin
jds12073-May-07 5:35
Memberjds12073-May-07 5:35 
AnswerRe: search for files Pin
kubben3-May-07 6:31
Memberkubben3-May-07 6:31 
GeneralRe: search for files Pin
jds12073-May-07 7:53
Memberjds12073-May-07 7:53 
AnswerRe: search for files Pin
jds12073-May-07 10:03
Memberjds12073-May-07 10:03 
Questionvb-dll problem Pin
aamn13-May-07 5:18
Memberaamn13-May-07 5:18 
AnswerRe: vb-dll problem Pin
nlarson117-May-07 7:30
Membernlarson117-May-07 7:30 
QuestionRe: vb-dll problem Pin
aamn110-May-07 19:13
Memberaamn110-May-07 19:13 
Questionerror [modified] Pin
Xmen Real 3-May-07 5:09
professional Xmen Real 3-May-07 5:09 
QuestionCalling a DB2 COBOL Stored Procedure Pin
wpoopsi3-May-07 4:54
Memberwpoopsi3-May-07 4:54 
Questiontoolbar image blur's automatically VS 2005 Pin
Rizwan Bashir3-May-07 4:45
MemberRizwan Bashir3-May-07 4:45 
QuestionChanging Crystal Report's connection at runtime Pin
BooleanTrue3-May-07 3:27
professionalBooleanTrue3-May-07 3:27 
AnswerRe: Changing Crystal Report's connection at runtime Pin
Tarakeshwar Reddy3-May-07 4:02
professionalTarakeshwar Reddy3-May-07 4:02 
Questiondsn in vb.net Pin
Sonia Gupta3-May-07 2:32
MemberSonia Gupta3-May-07 2:32 
AnswerRe: dsn in vb.net Pin
Dave Kreskowiak3-May-07 4:43
mveDave Kreskowiak3-May-07 4:43 
Questionimages in the crystal reports (vb.net 2005) Pin
Sonia Gupta3-May-07 1:24
MemberSonia Gupta3-May-07 1:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.