.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

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

Posted By:      Posted Date: October 26, 2010    Points: 0   Category :WPF

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?



View Complete Post

More Related Resource Links

system.runtime.serialization 3.0 missing

Trying to install an app that apparently needs system.runtime.serialization 3.0 installed. I tried downloading the 3.0 framework and installing that - but it wont let me install it. Says i need to install that through the role management tool. This is on a win2k8 r2 web server. Also need system.IdentityModel 3.0  - might need others as well, not sure. So whats the correct way to get this on there? thanks

The configuration section 'system.web.extensions' cannot be read because it is missing a section d

My system: I have installed Windows 7, VS2010 and .NET40 and ASPAJAXExtSetup.msiI'm getting the error below. Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070032 Config Error The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration Config File \\?\C:\inetpub\tickets\web.config Requested URL http://www.tickets.com:80/ Physical Path Logon Method Not yet determined Logon User Not yet determined Config Source 45: </connectionStrings> 46: <system.web.extensions> 47: <scripting> My web.config:<?xml version="1.0"?><configuration>    <connectionStrings>            </connectionStrings>    <system.web.extensions>        <scripting>            <webServices>                <!--http://weblogs.asp.net/andrewfrederick/archive/2008/02/18/a-client-sid

First Steps with VS2010 RC - System.Drawing; missing?

I'm a little confused! I was curious about the new VS2010 RC and as I wanted to start with a new Software Project I  wanted to give it a try. 1. Installation troubble with Silverlight but VS2010 loads without errors. 2. Now I wanted to try out this things with a full aero window and found a nice and simple code snipplet on the MSDN .NET FW4 Extend Glass Frame Into a WPF Application So I made this short changes in my first source code and I'm getting the strange message: Error    1    The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference?)    D:\Projekte\Selfmade\Software\CAS_Information\CAS_Information\MainWindow.xaml.cs    19    14    CAS_Information I found a lot of c# code with a using System.Drawing; but on my installation I dont have such a namespace. What the heck is wrong there?   Windows 7 x64 - VS2010 RC

Can't find System.Printing

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

System.Data.SqlServerCe Missing in \.NETFramework\v4.0



I am trying to install SQL Compact Edition on Windows 7 desktop Home Edition.  I am using visual studio C# 2010 Express Edition and have SQL Express 2008

When I add "using System.Data.SqlServerCe", SqlCeConnection, isn't referenced.  I cannot find/add System.Data.SqlServerCe as a .NET reference.  When I navigate to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0.  SqlServerCe isn't present.  However, I can find the necessary file within

C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Private

C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Private\x86

When I add a reference to C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Private\System.Data.SqlServerCe.dll, SqlCeConnection, turns blue and is refereced.  But wh

system.web missing from compact framework

Any ideas how I can use this framework? for windows phone 7

Root element is missing at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke



Environment: Win XP ServicePpack 3


                    VS 2008

   Can any one help me out for the below weird exception..

System.Exception: Root element is missing.System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   Also installed WSE 3.0,but still not resolved.


   Thanks in Advance..

WDP00002: missing section system.web/customErrors




Visual Studio 2005 Team Edition on W7 (32bit). New dev machine using an existing project pulled from VSS.

System Development Life Cycle

The Systems Development Life Cycle (SDLC) is a conceptual model used in project management that describes the stages involved in an information system development project from an initial feasibility study through maintenance of the completed application. Various SDLC methodologies have been developed to guide the processes involved including the waterfall model (the original SDLC method), rapid application development (RAD), joint application development (JAD), the fountain model and the spiral model. Mostly, several models are combined into some sort of hybrid methodology

The Agile System Development Life Cycle (SDLC)

The goal of this article is to describe the agile system development life cycle (SDLC), putting it in context from what you may have heard about within the agile community and more importantly within the context of your overall IT efforts.

Performance Tests: Precise Run Time Measurements with System.Diagnostics.Stopwatch

Everybody who does performance optimization stumbles sooner or later over the Stopwatch class in the System.Diagnostics namespace. And everybody has noticed that the measurements of the same function on the same computer can differ 25% -30% in run time. This article shows how single threaded test programs must be designed to get an accuracy of 0.1% - 0.2% out of the Stopwatch class. With this accuracy, algorithms can be tested and compared.

Content Query Web Part missing in SharePoint 2010

If you don't see content query web part listed in the web parts list, this is because you have not enabled "Search Server Web Parts" feature in site collection features. Enable this feature and content query web part will show in the list of web parts.

Bluetooth Printing Guide using Windows Mobile Pocket Pc

FieldSoftware Products printing products use the Bluetooth "Serial Port Profile" (SPP). Unfortunately, there is no standard method to find your Bluetooth printer and begin printing... each device contains a Bluetooth stack/driver that determines the steps. There are two main stacks currently available... one from Microsoft and one from WIDCOMM/Broadcom. Below are step-by-step instructions for printing with the Microsoft and WIDCOMM stacks. Note that these may change for different versions of the Bluetooth stacks or for different manufacturers. Consult the documentation for your device for specific details on your device.

Identifying your device''s Bluetooth stack: There is no sure steps to identify a Bluetooth stack on a device. Below are steps for identifying current WIDCOMM and Microsoft stacks at the time this page is published. Note that these may not identify earlier or later versions of the same BT stacks.



hello i have the following problem

i have upload my content to hosting server but i get the following error

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of typ

Problem upgrading to MVC3 - System.Web.Routing



I'm trying to upgrade to .NET 4 and MVC 3.

When trying to compile my project, I get the error:

Error 1 The type or namespace name 'Routing' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) C:\Users\spencer\Desktop\weblauncher\Common\MVCConfig.cs 4 18 Common

The type or namespace name 'Routing' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

I do have the System.Web.Routing in my references for the project.

BUT - when I try to view System.Web.Routing in the OBJECT BROWSER, nothing is inside!  The System.Web.Routing namespace is not in there - the entire thing is empty!  Could it that the dll is corrupted?  I tried to reinstall the .NET 4 and MVC 3 stuff, but its still empty!

The dll is coming from here:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Routing.dll

and the runti

ASP.net Ajax TabContainer -- Printing All tabs



Can  anyone help me with this?. I want to print all the tabs in ajax tab container. The tab container has around 10 tabs. I dont want to goto each tab and print the page. Instead is there any way by which I can tweek the print.css file to print all the tabs at a single stretch?.  So that I will get all the contents of the tab in single print.  Is there any other way in which I can print all the tabs all together?.

Thanks in Advance...


Missing 'new item templates'


 Hi all,

          I am a 'newbie' to VWD and I am slowly working through the Basic Walkthrough Help files, and learning plenty along the way.

However, when I tried to create a new database in the LINQ control walkthrough I found that the option to create a new database is missing, and further investigation has found that many other new item templates are missing.

I am using a brand new machine with Windows 7 Ultimate and have enabled IIS and .NET from Control Panel-Programs-Turn Windows Features On-Off. I used the WPI to install all basic elements eg. IIS Components, SQL Server Express.

The only 'new item templates' I have when I right-click the App_Data Folder and choose 'new item' are:-

ADO.NET Data Service

AJAX Enabled WCF Service

Dynamic Data Field

SQL Server Database

Text File

XML File

Does anyone know where I have gone wrong.


Michael J. Hill

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