DotNetDotNet's Q&A profile
Smart Device Development random TypeLoadException
I am having real issues with a TypeLoadException that occurs generally randomly. I've been working on a .NETCF 2.0 app all day, debugging and generally being productive. All of a sudden, with no changes to the assemblies, I get a TypeLoadException on one of the types in one of my referenced assemblies. It's one of my own assemblies, and I checked the manifest and didn't notice anything untoward. // Metadata version: v2.0.50727 .assembly extern mscorlib { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) // ....=3". .ver 2:0:0:0 } .assembly extern retargetable System.Data { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) // ....=3". .ver 2:0:0:0 } .assembly extern retargetable System.Xml { .publickeytoken = (96 9D B8 05 3D 33 22 AC ) ...Show All
SQL Server Service Pack 1 -- account information could not be verified
When installing Svcpack 1 ontop of my 9.00.1399.06 RTM Developer Edition I get the following error everytime: --------------------------- Invalid Login Information --------------------------- Your account information could not be verified for one or more instances. Ensure that you can connect to all the selected instances using the account information provided. To proceed further deselect the instances to which connectivity cannot be established. --------------------------- OK --------------------------- I have followed all possible suggestions on the following post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=358003&SiteID=1 but nothing works. I'm running as the local admin on t ...Show All
SQL Server Solved
Hi, Now it’s working fine!!!! On the Firewall of the Server, I’ve added the default port 1433 on the exceptions. thanx!!!! ...Show All
SQL Server Adding column after Matrix total
<P>Greetings,</P> <P>I am new to reporting services and am struggling with trying to add a column to the end of matrix report that has totals. You can see a jpg of the report at http://www.catertots.com/matrix.jpg What I need to do is repeat the school code that is in the first column into another column that follows the total. </P> <P>Any help would be much appreciated.</P> Hi, Matrices are a bit difficult when it comes to adding new columns. I can only think of two ways that you could do it (and both are a bit sleazy). 1. Add a 'Total' column within your kid group so that when you group by kid, the total will automatically display. Then when ...Show All
Visual Studio Team System TeamBuild + MsBuild Copy Task = No files?
My Team Build (TFSBuild.proj ) consists of 5 solutionfiles: < SolutionToBuild Include = " $(SolutionRoot)\path\ Solution1.sln" /> < SolutionToBuild Include = " $(SolutionRoot)\path\ Solution2.sln" /> <SolutionToBuild Include = " $(SolutionRoot)\path\ Solution3.sln" /> < SolutionToBuild Include = " $(SolutionRoot)\path\ Solution4.sln" /> < SolutionToBuild Include = " $(SolutionRoot)\path\ Solution5.sln" /> Solution5.sln consists of/refers to/contains/points to 7 project files: Project1.csproj Project2.csproj Project3.csproj Project4.csproj Project5.csproj < --- This is a Web Application Project Project6.csproj Project7.csproj Project5 (in Solution5.sln) is a Web Applicatio ...Show All
SQL Server SSRS -- Data Driven Subscription and Pivoting for Dynamic Parameter Mapping
Hi, For the Data Driven Subscription in SSRS we are using the following stored procedure In Step 3 - Create a data-driven subscription create procedure spRSGetReportSettings ( @ReportID as integer ) as begin set nocount on declare @t as table ( y int not null primary key ) declare @cols as nvarchar ( max ), @y as int , @sql as nvarchar ( max ) set @cols = stuff ( ( select N ',' + quotename ( y ) as [text()] from ( select ParameterName as y from Reportsettings where reportid = 1 ) as Y order by y For XML Path ( '' )), 1 , 1 , N '' ); set @sql = N 'select * from (select reportid,parametername, ...Show All
Visual Studio Express Editions how can I integrate C program in VB express?
how can I integrate C program in VB express Regards, Yaniv C++ mangles the symbol. Use extern "C" to stop the mangling: extern "C" double __declspec(dllexport) b5(int x) { return x; } ...Show All
Software Development for Windows Vista Credential Provider instead of GINA
Hi, Earlier I had a customized GINA dll , which reads the credential from the smart card and allows the user to login. Now How Can I provide the same functionality on Windows Vista, Can I get the sample code which reads the credential from the Smart card and passes to VISTA. One more thing, Can I use Visual Studio 6.0 for Creating the dll which will use ICredential Provider Any kind of help will be highly appreciated. Take a look at the Credential Provider Samples download package available here - http://www.microsoft.com/downloads/details.aspx FamilyID=1287ec56-77b4-48c4-8b58-35b7295d6c2c&DisplayLang=en . You should be able to take the existing smart card logic in your GINA ...Show All
SQL Server No Service Pack 1 installation steps ?
Hi There I understand that from Sql Server 2005 service packs should be able to be applied with no disruption, is this true I want to install service pack 1 on our 2005 instances but i cannot find any documentation in BOL or the official SP1 website on installation steps. Is there no thing i need to do when i install the service pack I am just weary of applying a service pack to the instance while users are woking etc. I find it very starnge that they are no reccomended steps to follow before applying th service pack. If anyone has a link to this i would really appreciate it as i cannot find ot anywhere Thanx Hi Samuel The msdn cd i have with service pack 1 given to us by Microsoft has ...Show All
Visual Studio Visual Studio 2005 Debugger cannot watch static class variables when /clr switch is on
Has anyone had this issue We are evaluating the possibility of migrating our unmanaged app to managed code to take advantage of the managed extensions. We thought we would start by enabled the managed extensions so we could begin to use the extensions inside our existing classes. If I create the following class: foo.h: class foo { foo(); public: static int i; }; foo.cpp: int foo::i = 1234; foo::foo() { int j; j++; <--------Set breakpoint here and try to watch the static class varaible i } Then, if I compile this code with /clr flag turned on, I cannot watch i unless I put a #pragma unmanged at the top of foo.cpp. Is this by design Why can't I view static variables in a mixed mode dll ...Show All
Windows Forms very new and confussed sorry if wrong place to post??
i have been trying to open a very inmportant document with msword n we are trialing vista i keep getting install the disc i dont have a disk and need to read this document please help sorry again if wrong forum wendy.x Hi there, Well, this is actually a programming forum but you sound so worried No worries - check out this link: http://www.microsoft.com/downloads/details.aspx FamilyId=95E24C87-8732-48D5-8689-AB826E7B8FDF&displaylang=en it is a free Word document viewer that should work on Vista as well. I don't seem to be able to find the free viewer for Office 2007, I don't know if it's out yet... Let me know if you need the Office 2007 viewer and I will continue looking. If you need viewers for ot ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Looking for suggestions on protecting game assets
In my development I typically purchase royalty free content for meshes, music, etc. Although the content is royalty free I am bound by the terms of use to protect the content from re-use by others through reasonable means. In developing C++ based games for Windows I typically encrypt the data on the CD or in the distro and decrypt at load-time. My question here is, do you have any suggestions on how to protect content and still use the content pipeline and the XNA C# based game studio Thanks again for the feedback. I look forward to the more flexible environment! One thing that would be nice as a feature would be the ability to pack the art assets not only for easy of distribution but also for copyright protection. I don't mind shari ...Show All
SQL Server Restore all data (system must not exit during restore) using SQL DMO
I am using the SQL DMO to do my backup and restore. The restore works fine for one thing. I there is current connections on my database I cannot perform the restore. I need to be logged on to the system to be able to do the restore (restore must be built into the system), but if I log in I cannot do the restore of the database. Need help ASAP!! Thanks!!! If the default database of the user is "master" then you shouldn't have this problem. I'd take a look at the server when this user is connected to see what other connections exist. You can be connected to the server and restore a database other than the one you're connected to. ...Show All
Windows Forms cust_id column to hide in gridview
I am working on a web project to display data in a gridview and I would like to hide the cust_id column in the grid, which is index [3]. I have an Edit (index[0], and two Template columns (index [2] and [3]). The first field being displayed is the cust_id (index[3]). Here is the code I have and the error message I receive is " Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" protected void Page_Load( object sender, System. EventArgs e) { //calls the dgResults_DataBound method to hide the cust_id column dgResults.DataBound += new EventHandler ( this . dgResults_DataBound ) ; } protected void dgResults_DataBound( object sender, EventA ...Show All
Visual C++ MFC CHeaderCtrl height & VS 05 Windows XP theme
After updating my application to Visual Studio 2005, I can no longer set the height of CListCtrl header when using Windows XP theme UI. Previously I was able to set the header height by setting the header control font to a larger font but using owner-draw and drawing the the header ctrl using a regular font.. With VS 05 this no longer work. The header ctrl height does not change anymore depending on the its font. What is the appropriate mechanism of setting the height for CListCtrl header I need to display two lines of information for each header item and that's why I need to maker the header ctrl height larger. Found the solution on the web. Using the font size to set the CHeaderCtrl height of an MFC ...Show All
