.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Can't find System.Printing

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :.NET Framework
Hello, I just installed the trial version of Visual C# 2008 Express Edition with SP1 and the Microsoft .NET 3.5 Framework. I have created a new project (console application) and need to use System.Printing in my project to access the print queue on my machine. However, System.Printing seems to be missing from my installation since I cannot see it in the drop down box that appears immediately after I type in 'System.' in the source file. Do I need some special project setting to include System.Printing? Am I missing something from my installation? Any help would be greatly appreciated. Thanks in advance. Anuj

View Complete Post

More Related Resource Links

System.Data.OleDb.OleDbException: Could not find installable ISAM.


Hi, i got the following error while i am trying to get my web application to run on windows server 2003. I've installed 2007 data access components on windows server 2003 but the web application does not seem to work. The codes that i use is as follows:

string strConn = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + address + ";Extended Properties=Excel 12.0;"; OleDbConnection objConn = new OleDbConnection(strConn); string strSQL = "SELECT * FROM [Sheet 1$]"; OleDbCommand objCmd = new OleDbCommand(strSQL, objConn);

OleDbDataReader oddReader = null;


oddReader = objCmd.ExecuteReader();







I've read a lot of forum posts and almost all of them mentioned ab out the connectionstring being wrong. However, when i ran the codes on my local machine, there were no errors. The error only show when i was running on windows server 2003.

I've underlined where the error is pointing to. Please advise. Thanks

Error: 0x80070002 The system cannot find the file specified

From Windows Server 2003 Std Ed SP, 32 bit VMWare Virtual Server .Net Framework v1.1.4322 When attempting to run a hello world aspx page it fails to load returning the message "Server Application Unavailable".  The application even viewer logged the following: Event Type: ErrorEvent Source: ASP.NET 1.1.4322.0Event Category: NoneEvent ID: 1088Description:Failed to execute request because the App-Domain could not be created. Error: 0x80070002 The system cannot find the file specified. I tried to run aspnet_regiis.exe -i, rebooted but this did not work. I tried to uninstall, reboot, reinstall .net from the Windows component section of Add/Remove Programs. Does anybody have any ideas? thanks, MP

The system cannot find the path specified

I want to run an external command from my c# program and this is how I am running it, but getting the error: "The system cannot find the path specified".Please check my code and debugging details copied below and suggest what I need to fix. Thank You. string MappingCommand = MappingCommandPath + "Mapping.exe /FileName " + HL7FileServerIn + FName;       Process p = Process.Start(MappingCommand);On the debugger I get MappingCommand as: "\\\\csi-myserv-dkv\\DKV\\Projects\\CSIAccessioning\\Altova\\Mapping\\bin\\Debug\\Mapping.exe /FileName C:\\Orders\\ORM2.hl7"    On command prompt when I copy past the above MappingCommand and remove the escape sequences, the following command runs fine.\\csi-myserv-dkv\DKV\Projects\CSIAccessioning\Altova\Mapping\bin\Debug\Mapping.exe /FileName C:\Orders\ORM2.hl7Your help is highly appreciated.

CrystalReportsException: Load report failed - The system cannot find the path specified

I recently added a Crystal Report to a web application within Visual Studio 2010.  I'm using the Push method with a DataSet, and have a CrystalReportViewer control added to an aspx page.  When trying to test the report locally I'm getting an exception when performing the data binding on the CrystalReportViewer control...-----------------------------------------------------------------------------------------------------------------------------------Server Error in '/TestDevelopment' Application. The system cannot find the path specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: The system cannot find the path specified. Source Error: Line 7: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Line 8: BindReport() Line 9: CrystalReportViewer1.DataBind() Line 10: End Sub Line 11: Source File: C:\Documents and Settings\acwhifield\Desktop\VS_Projects\TestDevelopment\TestDevelopment\a\CR_Rpt_SubSelNotes.aspx.vb Line: 9 Stack Trace: [COMException (0x80004005): The system cannot find the path specified. ] CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(O

Cannot find a token authenticator for the 'System.IdentityModel.Tokens.X509SecurityToken' token ty

I have a Java service running on WebSphere Application Server 7.0.  When I invoke the service using my WCF client, I get a 200 OK back in the trace, however my WCF client cannot process the signature in the response message.  I am getting the following error: Cannot find a token authenticator for the 'System.IdentityModel.Tokens.X509SecurityToken' token type. Tokens of that type cannot be accepted according to current security settings. I have tried setting allowSerializedSigningTokenOnReply="True" in my security binding as multiple forums had suggested.  However, I seem to be getting the same error.  Is there anything else I'm missing? Here is the response I am receiving from my Java service: HTTP/1.1 200 OK Date: Sat, 18 Sep 2010 18:57:26 GMT Server: WebSphere Application Server/7.0 Content-Type: text/xml; charset=utf-8 Content-Language: en-US Content-Length: 3914 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://www.w3.org/2005/08/addressing"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-2

Event ID 7000 - The system cannot find the path specified.


This is a very old prolem that i am getting to. First off I went through anywhere from 4 to 6 or more sessions with a Microsoft TECH and it even escalated a couple of levels of TECH support to boot. I can't remember the details specifically. I do know that I've started with gound up (installed/uninstalled NET Framework versions) installs to where I have all the versions installed. The Service doesn't start either automatically nor manual. I tried the patience of the Support people to fix this last error at that time.

I am starting anew to get the NET Framework Service to work properly . I hope I am in the right support forum.


The process could not be created for step 1 of job .....(reason: The system cannot find the file spe


Hi ,

I was trying your options by using "(operating system) cmdExec" to delete folders which were 15 days olders.  But here i am getting error if i look into view history of sql agent job... below is my command that i gave in Job step.

EXEC xp_cmdshell 'forfiles /p "z:\backup" -d 15 /c "cmd /c if @isDir==True echo RD /Q /S @FILE&RD /Q /S @FILE"'

And the error is :

The process could not be created for step 1 of job .....(reason: The system cannot find the file specified).  The Step failed.

but if i give this command in New Query Window, i am able to delete the folders successfully.

Please advice me if am wrong

R Anand

Could not load file or assembly 'vcWebCore' or one of its dependencies. The system cannot find the

I have a web project that references a strong-name DLL which contains a HttpModule, it is called vcWebCore.dll.

The DLL is registered in GAC using the gacutil.exe and everything looks fine.
I can see the DLL in my c:\windows\assembly directory with the correct
version ( and public key token.

However, at runtime I kept getting the error that the vcWenCore module could not be located:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'vcWebCore' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 16: 	<system.web>
Line 17: <httpModules>
Line 18: <add type="Technesis.vcWebCore.Web.VcHttpModule, vcWebCore" name="VcHttpModule" />
Line 19: </httpModules>
Line 20: <!--
Does anyone know why or what I am missing?

P.S. If I have the DLL in the bin folder ev

Cannot find custom tool 'SharePointWebPartCodeGenerator' on this system.

When trying to make a change to a web page in a Web Part when I complete the change and attempt to save the ascx file this error shows up as a warning in the Visual Studio 2010 Error List.  When I deploy the Web Part nothing has changed.  I am assuming it is due to this error.  The question here is how does this, the SharePointWebPartCodeGenerator, get installed?  I already uninstalled and reinstalled SharePoint 2010 Server and the SharePoint SDK.

I can't find System.Xaml in framework 3.5



I install vs2010 first in my system , and i used vs2010 to build one solution create by vs 2008 which was build and run very well, but there are some error. and days  later, i install vs 2008, try to rebuilt it using vs 2008, but it warms that System.Xaml was missing, I can only find a image in the folder of framework 4.0, and can't find one in the folder 3.5. I try to add reference path of 4.0 to projects, but just got more warns and the solution can be built through.

How can solve this issue?



System.Security.Cryptography.CryptographicException: The system cannot find the file specified





When i tried to use a third party web service  using IIS  , i am getting the following Error

Exception Details: System.Security.Cryptography.CryptographicException: The system cannot find the file specified.

[CryptographicException: The system cannot find the file specified.
   System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) +1459868
   System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) +55
   System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() +79
   System.Security.Cryptography.RSACryptoServiceProvider.ExportParameters(Boolean includePrivateParameters) +38
   System.Security.Cryptography.RSA.ToXmlString(Boolean includePrivateParameters) +41
   Globeranger.EdgeServices.Security.Runtime.Client.ClientSession.a() +158
   Globeranger.EdgeServices.Security.Runtime.Client.ClientSession.RequestLogin(String reasonMessage) +200
   Globeranger.EdgeServices.Security.Runtime.Client.ClientSession.GetNewSecureSessionToken(Boolean attemptLogin) +148

System.EnterpriseServices.dll' because of system error: The system cannot find the file specified.




Can anyone help in resloving this problem I get during the .Net 2.0 Frameworks distribution ?

Thanks in advance!

MSI (s) (7C:A4) [09:33:28:295]: Executing op: ActionStart(Name=CA_InstallAssemblyRB.3643236F_FC70_11D3_A536_0090278A1BB8,,)
11/24/06 09:33:28 DDSet_Exit: InstallAssembly ended with return value 0
MSI (s) (7C:A4) [09:33:28:310]: Executing op: CustomActionSchedule(Action=CA_InstallAssemblyRB.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=1281,Source=BinaryData,Target=UninstallAssembly,CustomActionData=System.EnterpriseServices,Version=,PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral,ProcessorArchitecture=x86;258048)
MSI (s) (7C:A4) [09:33:28:310]: Executing op: ActionStart(Name=CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8,,)
MSI (s) (7C:A4) [09:33:28:310]: Executing op: CustomActionSchedule(Action=CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=1025,Source=BinaryData,Target=InstallAssembly,CustomActionData=c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll;258048)
MSI (s) (7C:80) [09:33:28:310]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI1D.tmp, Entrypoint: InstallAssembly
11/24/06 09:33:28 DDSet_Status: LANGID: 1033
11/24/06 09:33:28 DDSet_Entry: InstallAssembly started
11/24/06 09:33:28 DDSet_Status: CustomActionData: c

Should be a no Brainer but ... System.Printing.PrintTicket is missing


It should be a no brainer but System.Printing.PrintTicket is missing from Visual Studio's Intellisense, it stops at "PrintSystemObjects".

The using directive for PrintTicket generates the error message "...are you missing a using directive or an assembly reference". Other System.Printing objects such as PrintQueue work fine.

It's late and perhaps my no Brainer isn't working so well - any ideas on what I'm missing?



Error "Could not find server 'System' in sys.servers" with non-context connection in CLR function


When trying to open a non-context connection in a CLR scalar valued function I am receiving the Exception:

Could not find server 'System' in sys.servers. Verify that the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers

I encounter this problem on two different SQL Server 2005 servers. The error seems strange to me since I am not using linked servers.

Here is an extract from my function:



class LimitSystemFunctions
  public static<

LOB System did not find instance



I am attempting to write a program to automatically refresh BDC data in a SharePoint List.  I am receiving the following error:

"LOB system did not find instance"

On this line of code:

identifierValues = entity.FindSpecific(objArray, sysint).GetIdentifierValues();

I'm following this post here:  http://old.sharepointnick.com/blog/Lists/Posts/Post.aspx?ID=59

Any help is greatly appreciated.

Thank you,



Intermittent CryptographicException "The system cannot find the file specified."




I'm writing custom web application running on MOSS 2007 (running on Windows Server 2008 R2) with Kerberos setup.

In my code, I'm calling a 3rd party library which internally doing a signing of a string.

Intermittently in production environment, user encounter error message. When I check on the error log, I saw CryptographicExceptions with message "The system cannot find the file specified."


	Inner Exception
	Type : System.Security.Cryptography.CryptographicException, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
	Message : The system cannot find the file specified.

	Source : mscorlib
	Help link : 
	Data : System.Collections.ListDictionaryInternal
	TargetSite : System.Security.Cryptography.SafeProvHandle CreateProvHandle(System.Security.Cryptography.CspParameters, Boolean)
	Stack Trace :  at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
	  at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
	  at System.Security.Cryptography.DSACryptoServiceProvider.GetKeyPair()
	  at xx.xxxx.SecurityController.signData(Byte[] message)
	  at xx.xx

how to find the location of application icon on system tray of windows 7?


I would like to build a wpf application for windows 7 so the application window is always aligned with (above) the application icon on system tray.

So I need to know the location of the application icon.

Is it possible?


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend