Waqar Azeem's Q&A profile
.NET Development Microsoft.Samples.Runtime.Remoting.Security.SecuritySinkMessageHeaderException
Hi, I have a service that receives calls using .NET remoting (1.1), it is published as a singleton. When the server is under load I receive the following exception: RemotingException - An error occurred while processing the request on the server: Microsoft.Samples.Runtime.Remoting.Security.SecuritySinkMessageHeaderException: An attempt was made to retrieve the message envelope from the header array but it does not exist. The client or server channel sink may not be installed. at Microsoft.Samples.Runtime.Remoting.Security.AuthenticationManager.GetMessageFromHeader(ITransportHeaders headers) at Microsoft.Samples.Runtime.Remoting.Security.ServerAuthenticationManagerList.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage ...Show All
Visual Studio Consuming a Web Service from Crystal Report
I know we can publish web service from Crystal Report. But I am looking any information related to CONSUMING a web service FROM a Crystal Report. We are creating these web serivces in .NET and looking for Crystal to consume them. Any help is appreciated. Thanks RE-POST I know we can publish web service from Crystal Report. But I am looking any information related to CONSUMING a web service FROM a Crystal Report. We are creating these web serivces in .NET and looking for Crystal to consume them. Any help is appreciated. Thanks ...Show All
SQL Server SQL 2000 on Win2k3 Enterprise?
I am attempting to install MS SQL 2000 SP2 on a Windows Server 2003 Enterprise SP1 box. The only installer I can find on the disc is in the MSDE directory and when I run it it immediately gives me this error: "This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package." I have tried copying the install files to my local hard drive for install, I have checked the version of my Windows Installer (3.1.4000.1840). I have the SP4 updates ready to go once it's installed, but I just cannot get past that point. I know that the same software version has been installed on other Windows 2 ...Show All
SQL Server sqlmangr.exe program error (Please help)
Whenever I run the sqlmangr.exe after the system reboot, the sqlmanagr.exe generated program error. "sqlmangr.exe has generated errors and will be closed by Windows. You need to restart the program." I am using MSDE 2000. The OS is Windows 2000. One thing I noticed is that sqlmangr.exe will not crash if I disconnect the system from the NETWORK. (By unplugging the network cable.) YOUR HELP IS APPRECIATED. Hello all. I'm just curious to find out if any one has tried these work arounds and the results they got. I too am encountering the "sqlmangr.exe" error and have confirmed that there are NO running SQL 2005 instances on my network. Like the original problem noted, I'm running MSDE 2000 and am e ...Show All
SQL Server Table transfer errors
Hello, I am trying to transfer a database from one server to another using the Import Export wizard in SSIS and I am consistantly getting this error on 2 different tables so far. - Execute the transfer with the TransferProvider. (Error) Messages * ERROR : errorCode=-1073451000 description=The package contains two objects with the duplicate name of "output column "ErrorCode" (79)" and "output column "ErrorCode" (14)". helpFile=dtsmsg.rll helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC} (Microsoft.SqlServer.DtsTransferProvider) This error message is beyond cryptic and when I click on the link it sends me to a web page the just tells me that there is no informat ...Show All
Visual Basic Automatic Generation
hi, i need automatic generation of numbers of the Format : 0001S. i tried with the following codings. it works with MSAccess as BackEnd and not with SQL. Set rs2 = d.Execute("select max(val(mid(no,1,4))) from samp_mast") If IsNull(rs2(0)) = True Then Text2 = "0001" & "S" Else Text2 = Format(rs2(0) + 1, "000#") & "S" End If Text3.SetFocus SendKeys "+{end}" ' ====================================================== Try using "num" as field name instead of "no" Set rs2 = d.Execute("select max(val(mid(num,1,4))) from samp_mast") ...Show All
Visual Studio Team System msbuild error MSB3073
I'm building a project in msbuild and it fails to copy a config file even though the path seems to be correct. I'm not using any custom targets or tasks. I tried troubleshooting the copy and exec tasks working with relative paths and I can reproduce the same error whenever I run msbuild from any directory other than where the files I'm trying to copy live (See ProjectX below). I'm wondering if there's a property in my VS project that is needs to be set to make sure it knows the relative location of all the projects in my solution. I do not get this error when I build within Visual Studio 8. The config file is copied fine. Here's the error in m ...Show All
SQL Server Need scope for RowNumber( ) function
HI ... I have a detailed report ..with summary lines and detailed lines (drill down). I have a column with a function "RowNumber(Nothing)" which is supposed to just count the rows when I put this in the summary row for the column I need in the Design Layout section and run the report, I get numbers on the summary lines which include the number of rows in the level below (detailed rows). I just want to number the summary rows sequentially without taking into consideration, the number of detailed rows. How do I modify RowNumber(Nothing) to exclude counting the detailed rows.... Any help will be much appreciated...thanks This was exactly what I was looking for thank you very much, you have been ...Show All
Software Development for Windows Vista Vista ListView Focus/Selection style
How can I say that the ListView control should use the focus/selction style like in explorer My items have just the blue background, not the much cooler explorer 3d stuff. btw: I'm using the application manifest. Steffen Check out AeroStyle.xml in the SDK, classes that support SetWindowTheme("Explorer") will be mentioned there. Currently there's listview and treeview. As mentioned there, it currently affects the item selection visuals. Since it's opt-in, if you decide to use it you should test your application thoroughly with it, since it affects things like custom draw, etc. You should also make sure your control is double-buffered (LVS_EX_DOUBLEBUFFER , TVS_EX_DOUBLEBUFFER) if you decide to use this style. ...Show All
.NET Development Rows.Add causes "System.NullReferenceException". Why?
I have very simple function, at least I think it's simple. And it works first time I execute it, but second time I got the error " Object reference not set to an instance of an object " in the line "MLSMapTable.Rows.Add(row);". Why is it so private void FillMLSMapTable() { MLSMapTable.Clear(); XmlNodeList list = XMLDoc(txtMLSMetaDataFile).SelectNodes("//" + nodeMLSMetaDataField.Name); foreach(XmlNode mlsRecord in list) { DataRow row = MLSMapTable.NewRow(); foreach(XmlNode field in mlsRecord.ChildNodes) row[field.Name] = field.InnerText; try { MLSMapTable.Rows.Add(row); } catch(ConstraintException){} catch(Exception) { throw; } } } The nodeMLSMetaDataField po ...Show All
.NET Development Why is Console in the backgroud?
When I create an empty project with Express Visual C++ and make a windows form on the fly, I get the console in the background with the title C:\Windows\System32\cmd.exe. Why is that This feature did not exist in 2003 VC++.Net. Is it a part of Express Edition of VC++.Net What can I do not to display the console in the background Regards Modeller. I finally found out what is needed for "Console Free Windows Form Application" (LOL!): As recommended by Peter Ritchie, I turned on the option : Project\<projectname> properties\Configuration Properties\Linker\System. Change the first property (SubSystem) to Windows (/SUBSYSTEM:WINDOWS) (see above) In addition, I turned on the & ...Show All
Visual C# Animated GIF doesn't animate!
I have inserted an animated GIF in a picture box. When the event fires, it doesn't animate, just shows. How can I make it animate take a look at ImageAnimator class you can write some thing like private Image curImage = null; private void btnStart_Click( object sender, EventArgs e) { curImage = Image .FromFile( "yourFilePath)" ; if ( ImageAnimator .CanAnimate(curImage)) { ImageAnimator .Animate(curImage, new EventHandler ( this .OnFrameChanged)); } else MessageBox .Show( "Image doesn't have frames" ); } private void StopAnimationBtn_Click( object sender, System. EventArgs e) { if (curImage != null ) { ImageAnimator .StopAnimate(curImage, new ...Show All
Visual C++ Resource files in VC++
I am trying to understand resource file concept in VC++.But i really confused.First i want to ask you a question. In every document it says you must include #include "resource.h" But in my solution there is only one file it is Resource.h .Is resource.h and Resource.h different Can you advice me web links to understand resource, resource script files in vc++. Thanks Resource.h is the glue from the resource editor into the code. Communication with controls created in the resources is either done by a string (name) or by an ID. All those IDs are collected in the resource.h file. So this file differs from project to project like the reosurce (rc) file differs from project to project. ...Show All
Software Development for Windows Vista Is June CTP SDK work on Xp pro OS
hello Now I have setup for MicrosoftR WindowsR Software Development Kit (SDK) for June CTP of Windows Vista and .NET Framework 3.0 Runtime Components. I down load from the follwoing URL http://www.microsoft.com/downloads/details.aspx FamilyID=9221A6AA-AC1C-4604-A326-B8CF2B12B6EB&displaylang=en I want to know whether I install in Xp -pro this setup will work or not. Please guide me Advance thanks vijil according to http://www.microsoft.com/downloads/details.aspx FamilyID=9221A6AA-AC1C-4604-A326-B8CF2B12B6EB&displaylang=en#Requirements , and http://blogs.msdn.com/tomarcher/archive/2006/07/17/668572.aspx that works ...but.... ...Show All
Software Development for Windows Vista Tracking only works inside VS2005
I've defined a tracking profile and inserted to the tracking database to track a workflow created by a xmal file, however, it only works if I start and debug the workflow host by vs2005. If I start the workflow host console by double clicking it, it always throw exception the workflow is executed. Exception: Event "Abc" on interface tyoe "IAbc" for intance id "xxxx" cannot be delivered. ---> System.ArgumentNullException: Value cannot be null Parameter name: profile at System.Workflow.Runtime.RTTrackingProfile..ctor(TrackingProfile profile, Activity root, Type serviceType) at System.Workflow.Runtime.TrackingProfileManager.GetProfile(TrackingService service, Activity workflow, Version verionId) The same file, database and the same actions ...Show All
