473,471 Members | 2,009 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

4th attempt to post this

I am not sure why this wasn't sent last week. I keep posting a reply but it
just doesn't go. Here it is again.

I have inserted answers below. By the way the error is back today, so if
you want me to get any additional information about the error this would be
the time to do it.
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:u0**************@TK2MSFTNGP12.phx.gbl...
What's the identity of the service account?
I don't know what you mean by identity of the service account. The name of
the service is StockMgrService. Where do I look for this Identity?
Where are these dll's located? The dll's are installed to the same folder as the rest of the application.
What dependencies do they have? SystemMethods.dll
System
System.Data
System.XML
using System;

using System.Data;

using System.Diagnostics;
RemoteLoader.dll
System
using System;

using System.Reflection;

wwScripting.dll
RemoteLoader
System
System.Data
using System;

using System.IO;

using System.Text;

using Microsoft.CSharp;

using Microsoft.VisualBasic;

using System.Reflection;

using System.Runtime.Remoting;

using System.CodeDom.Compiler;
What's are you using in AddAssembly to locate/load the DLL's? /// <summary>

/// Adds an assembly to the compiled code

/// </summary>

/// <param name="lcAssemblyDll">DLL assembly file name</param>

/// <param name="lcNamespace">Namespace to add if any. Pass null if no
namespace is to be added</param>

public void AddAssembly(string lcAssemblyDll,string lcNamespace)

{

if (lcAssemblyDll==null && lcNamespace == null)

{

// *** clear out assemblies and namespaces

this.oParameters.ReferencedAssemblies.Clear();

this.cNamespaces = "";

return;

}
if (lcAssemblyDll != null)

this.oParameters.ReferencedAssemblies.Add(lcAssemb lyDll);
if (lcNamespace != null)

if (this.cScriptingLanguage == "CSharp")

this.cNamespaces = this.cNamespaces + "using " + lcNamespace + ";\r\n";

else

this.cNamespaces = this.cNamespaces + "imports " + lcNamespace + "\r\n";

}

/// <summary>

/// Adds an assembly to the compiled code.

/// </summary>

/// <param name="lcAssemblyDll">DLL assembly file name</param>

public void AddAssembly(string lcAssemblyDll)

{

this.AddAssembly(lcAssemblyDll,null);

}

public void AddNamespace(string lcNamespace)

{

this.AddAssembly(null,lcNamespace);

}

public void AddDefaultAssemblies()

{

this.AddAssembly("System.dll","System");

this.AddNamespace("System.Reflection");

this.AddNamespace("System.IO");

}


Willy.

Nov 17 '05 #1
1 1424
hi

well this is the first time I see it :)
somedays there are lot of post

First of all, what is the error you are getting?

From willy's post it may be possible that you are having permission
problems, he was refering under what user the project runs.
did you include a ProjectInstaller in the service?
if dont' so do it.
if you did make sure that the "Account" property of the
ServiceProcessInstaller1 is set to LocalSystem
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Nathan Kovac" <Na**@keysolinc.com> wrote in message
news:uK**************@TK2MSFTNGP15.phx.gbl...
I am not sure why this wasn't sent last week. I keep posting a reply but
it
just doesn't go. Here it is again.

I have inserted answers below. By the way the error is back today, so if
you want me to get any additional information about the error this would
be
the time to do it.
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:u0**************@TK2MSFTNGP12.phx.gbl...
What's the identity of the service account?


I don't know what you mean by identity of the service account. The name
of
the service is StockMgrService. Where do I look for this Identity?
Where are these dll's located?

The dll's are installed to the same folder as the rest of the application.
What dependencies do they have?

SystemMethods.dll
System
System.Data
System.XML
using System;

using System.Data;

using System.Diagnostics;
RemoteLoader.dll
System
using System;

using System.Reflection;

wwScripting.dll
RemoteLoader
System
System.Data
using System;

using System.IO;

using System.Text;

using Microsoft.CSharp;

using Microsoft.VisualBasic;

using System.Reflection;

using System.Runtime.Remoting;

using System.CodeDom.Compiler;
What's are you using in AddAssembly to locate/load the DLL's?

/// <summary>

/// Adds an assembly to the compiled code

/// </summary>

/// <param name="lcAssemblyDll">DLL assembly file name</param>

/// <param name="lcNamespace">Namespace to add if any. Pass null if no
namespace is to be added</param>

public void AddAssembly(string lcAssemblyDll,string lcNamespace)

{

if (lcAssemblyDll==null && lcNamespace == null)

{

// *** clear out assemblies and namespaces

this.oParameters.ReferencedAssemblies.Clear();

this.cNamespaces = "";

return;

}
if (lcAssemblyDll != null)

this.oParameters.ReferencedAssemblies.Add(lcAssemb lyDll);
if (lcNamespace != null)

if (this.cScriptingLanguage == "CSharp")

this.cNamespaces = this.cNamespaces + "using " + lcNamespace + ";\r\n";

else

this.cNamespaces = this.cNamespaces + "imports " + lcNamespace + "\r\n";

}

/// <summary>

/// Adds an assembly to the compiled code.

/// </summary>

/// <param name="lcAssemblyDll">DLL assembly file name</param>

public void AddAssembly(string lcAssemblyDll)

{

this.AddAssembly(lcAssemblyDll,null);

}

public void AddNamespace(string lcNamespace)

{

this.AddAssembly(null,lcNamespace);

}

public void AddDefaultAssemblies()

{

this.AddAssembly("System.dll","System");

this.AddNamespace("System.Reflection");

this.AddNamespace("System.IO");

}


Willy.


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert Hogan | last post by:
Hello, I'm not sure this is possible, and if it is possible, whether it's possible in VB but thats the language I know the best so I'll post here and if anyone knows a better language to do it...
6
by: Jan Roland Eriksson | last post by:
For those interested, read and rip it up as you wish :-) ===== Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: twice a week (mondays and thursdays) Last-modified: July 20, 2004...
11
by: bissatch | last post by:
Hi, I am trying to upload an image, create a new file based on that image and then store the base64 encoded image data in a database. I dont really know where my code is going wrong so I will...
3
by: John Ortt | last post by:
> I have a table of dates in ascending order but with varying intervals. I > would like to create a query to pull out the date (in field 1) and then pull > the date from the subsequent record...
13
by: buda | last post by:
I had some spare time and decided to try to implement the standard library qsort. This is a pretty simpleminded attempt, but it seems to be working. I have to point out that efficiency is not at...
12
by: EMW | last post by:
I'm really getting frustrated.. I'm trying to create an interactive datagrid to be used in a sort of planning tool. In my company we have 25 engineers and they run a 24/7 call duty once a...
2
by: Jeffrey | last post by:
My ASP.NET Web app has a "global error handler" (http module) that catches any exceptions not caught in any try/catch handlers. It logs details about every exception. I got this strange one today...
1
by: VB Programmer | last post by:
ASP.NET 2.0 site... On my dev maching I can run my login page with no problem. After I sign in it redirects to the proper secured page. I deployed the site, with the same database. I can't...
28
by: VK | last post by:
A while ago I wrote a "Vector data type" script using DOM interface to select.options. That was a (beautiful) mind game :-) rather than a practical thing to use. Here is another attempt open...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.