marina B.'s Q&A profile
Microsoft ISV Community Center Forums Global Variable not Persisting
Hi there, i seem to have hit a BIG problem! Im building a new system for users at work and the functionality of the system so far is good. However a lot of the functionality is based on permissions applied to the user after they have logged in - there is a global variable that stores every users login name 'loginname'. However at some point, (although not always) if the user is doing a lot of work in the system by entering activity, creating companies, contacts etc then they will receive a message stating 'Error 94: Invalid use of null' and when I go to debug it will highlight a line of code that inevitably depends on the 'loginname' global variable. I have a little text box that holds the loginname after the user has logged in and it will ...Show All
SQL Server How do I send RS parameter to XML query?
I Have this web service method: [ WebMethod ] public DataSet EeoReport( DateTime start, DateTime end) {} I have this XML query that sends blanks to start and end and properly gets my data. <Query> <ElementPath IgnoreNamespaces="True"> EeoReportResponse {}/ EeoReportResult/diffgram{}/ DataSetName {}/TableName {Field1, Field2, Field3, Field4, Field5, Field6, Field7, Field8} </ElementPath> <SoapAction>http://services.mydomain.com/EeoReport</SoapAction> <Method Namespace=" http://services.mydomain.com " Name="EeoReport"> </Method> </Query> How do i add RS parameters to this query to represent start and end in the above webmethod... http://ms ...Show All
SQL Server Grouping Level in Matrix component
Hi all, I have an other question about Matrix component. I'm using grouping on rows whith Drill Down enabled. The problem is when I drill down, the level below is shown on the same row. I would like the level to be shown on the row below his parent level to keep the values grouped in the data area of the Matrix: Here is how it looks % Class. Amount Class. A AA AAA 98,82% € 5.325.409,41 AAB 93,40% € 42.264.672,37 AAC 95,21% € 17.277.397,23 AAD 95,65% € 116.121.355,60 AAE 99,88% € 426.218.010,59 AAF 94,63% € 35 ...Show All
Software Development for Windows Vista Bug? WorkflowStateMachine
I am very much new to WWF and started experimenting. I opened a new WorkflowStateMachine and added some States, then I added some EventDriven items into each State. I was not sure what I could or could not do and tried to add an IfElse to the diagram. When I did so, nothing appeared on the dsigner surface; however, the IfElse was added to the InitializeComponent() section of the designer.cs file. Is this not a bug If an item that is dragged into the designer is not valid and is not displayed, it should not be added to the designer.cs file should it It seems this would fill WWF classes with alot of 'garage' so-to-speak. TIA Trevor Please ignore, this was a case of operator error and expe ...Show All
SQL Server Error on Date Data During Insert
Hi Folx, I am new to SQL Server and I am struggling with source data for a table with two db_datetime columns. The data can be inserted using native SQL, but errors when I build a Data Flow Container. Versions: Microsoft SQL Server Integration Services Designer Version 9.00.1399.00 Microsoft SQL Server Management Studio 9.00.1399.00 Error: [Flat File Source [1]] Error: The "output column "extraction_date" (24)" failed because error code 0xC0209084 occurred, and the error row disposition on "output column "extraction_date" (24)" specifies failure on error. An error occurred on the specified object of the specified component. Source Row: 101|100|2006/12/19 23:50:01.00|2006/12/19 23:50:01.00||| ...Show All
Windows Forms VB 2005 Express Project Deployment
I have writtewn an app that needs three pre-requisites, .Net 2, Installer 3.1 and SQL Express. All the publish details are setup etc. When I choose "Download prerequisites from the same location as my application" where is this "same location". My app will not publish beacuse it says, for example, "windowsinstaller3_1\windowsinstaller-KB893803-v2-x86.exe...cannot be located on disk". I have tried saveral locations but all have failed to date. Hi, you can download instmsia.exe at this location: http://www.microsoft.com/downloads/details.aspx FamilyID=cebbacd8-c094-4255-b702-de3bb768148f&displaylang=en Jeff ...Show All
.NET Development Find Method
Hi, Can someone give me an example of the BindingSource.Find Method I have tables with 2 and in some case 3 fields defining the table key. I cannot find any example on how to look for a row this way!!! Is it possible All the examples refer just one filed to look for.... Thanks, Pedro Try ' Find the index of the record we are searching for ' "PropertyName" is the name of the field that we want to search ' SearchValue is the search criteria Dim foundIndex As Integer = bindingSource.Find( "PropertyName" , PropertyValue) bindingSource.Position = foundIndex Therefore, if "PropertyName" was "EntityID" and "PropertyValue" was 1 ...Show All
.NET Development .NET remoting and local web server
We have a backend application and ASP.NET web application running on customers' sites. Once in a few weeks they would report that they could not run our web application. They get the "Cannot find server" error on the browser. If they try to go to http://localhost/ they will get the same error. The ASP.NET application communicates with the backend application through .NET Remoting. To fix it, they would have to kill the backend application and restart it. Then the web app would come up just fine. What could be the problem in the backend app that caused the local web server down Any help would be greatly appreciated. hong2007 ...Show All
Windows Search Technologies Why would anyone want to install WDS 3 instead of 2.6.x?
Is it just me or does WDS 3 just seem broken I am trying to understand why I should install WDS 3 when it seems that many features I use each day have been removed. Examples include requiring an add-in to search UNCs, no Group Policy support, no PDF iFilter. Another problem is many of the iFilters I currently use don't work with WDS 3 like the old PDF iFilter. Does this mean that Search in Vista is just as broken Someone indicated that there was a whitepaper or document explaining how to chose the version to install. Does this document really exist --Greg Yeah I have finally decided to uninstall WDS as it was crushing my workstation and outlook. I really feel they rushed this out the door. Not ...Show All
Visual Basic Screensaver active status in VB
How can I determine when the screensaver is active in VB.Net Thanks. Since I'm an extremely novice VB.Net programmer, I found a way around this (mostly): - I check the value of the screensaver timeout from the registry - Using timers I monitor mouse movement - doesn't help with keyboard activity, but close enough for me! ...Show All
Smart Device Development Jagged Array (C#.Net VSN 2005)
Hi I need to search a string (word) inside a paragraph. The search should be the "whole word" and "non case sensitive ". For example, from below mentioned Para , I need to search the string 'Administrator'. It occurs twice. No matter of difference in-between 'A' and 'a'. But it should be the entire string. ie, if I search the word 'to' in the given Para , then it Mustn't find the word Administrator which has the word 'to' itself. [ Para : You must be logged on as an administrator or a member of the Administrator group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.] ...Show All
Visual Studio 2008 (Pre-release) how to make the header of an expander control stretch?
I'm trying to make the header of an Expander control fill the available horizontal space in the parent. I'd expect something like this to work: <Expander IsExpanded="True"> <Expander.Header> <Border Background="Blue"> <TextBlock>Hi there</TextBlock> </Border> </Expander.Header> <Expander.Content> <Rectangle Height="100" Fill="Red"/> </Expander.Content> </Expander> The result of this is: - the content (red rectangle) is stretched out horizontally (good) - in the header, the blue background precisely fits the area of the text in the TextBlock (bad) If I put the Border with the embedded TextBlock in, say, ...Show All
.NET Development Associate custom serializer with class?
After looking through all of the XMLSerializer stuff out there, I'm starting to think that it is not the way to go. The lack of good support for collections makes it fairly useless. There does not seem to be any easy way to get XML which looks like this: <House> <Windows> <Window> <Height>6</Height> <Width>4</Width> <Type>Casement</Type> </Window> </Windows> </House> When Windows is a member of House which is of type WindowCollection not Window[] Can you elaborate on your scenario a little Implementing IXmlSerializable on your class will give you complete control over how it is de/serialized. Thank ...Show All
Internet Explorer Development IE 7 hangs?
I can see issues with this site in ie7 but some other can't. I was wondering if you could have a look if you use ie 7 search this url http://www.prague-hotel.co.uk/en/sea...2-2007/2/1.htm and use the paging at the bottom to go through a few times and back. It may be the 3rd or 4th page when paging through. 1 2 3 4 5 Next I see that it hangs quite badly. Anyone else I really would appreciate some feedback. Thanks ...Show All
Visual Studio Team System Failed to create team project
Hi Suddenly, when I try to create new team project , I got the following error: TF30162: Task "WITs" from Group "WorkItemTracking" failed. 2 days before I successfully created projects. Operations that I took when I tried to solve this problem: 1. grant administrator authorization to all tfs services . 2. re-loaded process templates . 3. restart the tfs machine . 4. make sure that all related services started . 5. browse tfs's web services (all of the *.asmx) to make sure they are available . Unfortunately, The error still occurs. Note: I didn't do any significant thing during the last couple of days beside of creating one team project and loading files into source control. What should I do Below logs that des ...Show All
