Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: PGO01
  • Content: Threads
  • Order by date
  1. PGO01

    Using the Designer on Inherited Form

    I have BaseForm with 2 buttons on it, both have their Modifiers property set to protected. I have ConnectionForm which inherits from BaseForm. From the designer window on the ConnectionForm, I can't change any of the inherited button's properties. Is this right? I thought 'protected' means I...
  2. PGO01

    dll must be strong signed in order to be marked as a prerequisite

    I have a click-once deployment win forms project that cannot build successfully because of this error: Example.dll must be strong signed in order to be marked as a prerequisite. I don't want to strong sign the Example.dll. I have gone into 'Project Properties > Publish > Application Files'...
  3. PGO01

    Dynamic Data Web-Site - Where are the select statements

    I have just created a Dynamic Data Entities web-site on a SQL database, added the ADO .Net Entities and dragged my tables onto the designer. I've now run it to see what it's like and it works, but it is very very slow. The tables are indexed, and running selects from SQL get results back in...
  4. PGO01

    Import a csv and map a literal value to a column

    I have an SSIS package that takes in a flat file (csv) and maps the columns of the flat file to the columns in a table. I have an extra column in the table that I want to map to a literal value. Any ideas how to do this? I have tried creating a variable, and entering a literal value - but it...
  5. PGO01

    Installing CRM 4 on Win Server 2008

    I get the following error about a 3rd of the way through installation: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. Invalid URI: The hostname could not be parsed. What does this mean? Any ideas how to fix it?
  6. PGO01

    WCF Web Service and SSL

    I have a wcf web service with SSL that I am testing on my local development machine. I have an SSL certificate installed on my local machine. I keep getting this error: The HTTP request is unauthorized with client authentication scheme 'Basic'. The authentication header received from the...
  7. PGO01

    "undefined" appearing on page - why?

    The word 'undefined' appears as the first element in a UL (before the first LI) on my web page. It is not in my source anywhere. Why is it appearing? How do I get rid of it?! Inspecting the element at runtime on the page, I see this: <ul id="foo"> "undefined" <li id="bar">...
  8. PGO01

    Separate executable vs. background thread

    I have inherited a system - in which part of it works like this: User submits a request --> Web service is called on the server --> The web service does some processing and then kicks off a separate process (an executable) to do some time-consuming tasks --> the web service then tells a...
  9. PGO01

    Defrag an MDF file in a VM

    Not sure if this is the correct forum. I have a 20Gb SQL file (MDF) that is completely fragmented - causing an overall fragmentation on my VM of 45%. I've rebuilt all of the indexes through the DBCC command in T-SQL and stopped all SQL services, rebooted and done a windows defrag (from within...
  10. PGO01

    Non-persisted Cookies vs Session vs Context vs URL Parameters

    I'm learning web development and I'm a bit confused on the best way to hold information across pages. Firstly, what is the point of a non-persistent cookie (One that has no expiry date and therefore does not get written to disk)? What I mean is, why not use the session or context? Why do we...
  11. PGO01

    Reflecting and Inheritence

    When I do myObj.GetType().GetFields() I don't see fields from base classes. Is there a way to do this with BindingFlags or another way? I guess I could do some kind of recursive myObj.GetType().BaseType and get the fields that way but thought there might be an easier way. Regards Pete
  12. PGO01

    How to layout a page - beginners

    I'm new to asp .net programming and I am having difficulty with the layout of my pages. I want a simple input data page with things like Name/DOB/Gender/Hobbies/Etc. What's the best way to lay this out on the page? Using floating divs or a table or both or a different way? I tried a simple 2...
  13. PGO01

    Reduce the Semaphore Count

    I'm trying to create a sample application that uses a semaphore to restrict the number of instances allowed to be open on a given machine at any 1 time. I have got it working as far as it shows a message if the semaphore is full, and closes - but the problem I am having is the semaphore count...
  14. PGO01

    Self Joining Challenge

    Here's a challenge for you experts: I've got 3 tables: Case CaseID CaseApp CaseAppID CaseID Type Date CaseAppMember CaseAppMemberID CaseAppID So as you can see from the above a Case has many CaseApps and a CaseApp has many CaseAppMembers. My problem: I...
  15. PGO01

    Error - The FOR XML clause is invalid in views, inline functions...

    I am getting an error with the following code. Can anyone help? Error message: Only one expression can be specified in the select list when the subquery is not introduced with EXISTS. DECLARE @StrXML NVARCHAR(MAX) SET @StrXML = ( SELECT ( SELECT 'This', 'is', 'a', 'test 1' UNION...
  16. PGO01

    Audit Table For Changed Values Only

    I am desperately trying to get an audit solution working with only changed values being sent to the audit table. Here is waht I have so far - can anyone please help with the two lines I've pointed out? -- Drop objects if they already exist. IF OBJECT_ID('TestTrigger_Update') IS NOT NULL DROP...
  17. PGO01

    Return Value From Stored Procedure

    Here's a simple stored procedure: CREATE PROCEDURE MyProc AS BEGIN DECLARE @Query nvarchar(max) SET @Query = 'SELECT 123' EXEC(@Query) END Now the following would show '123' in the result window: EXEC MyProc But I want to set the output of this stored procedure to another...
  18. PGO01

    Comparing Values Within Same Record

    I've got some audit tables populated by triggers - each audit table has an Inserted_xxx and Deleted_xxx column for each column in the original table. Is there a good way to select the Inserted_XXX and Deleted_XXX columns only where they are different? So if I have a table with 20 columns I...
  19. PGO01

    Update Column to Another Column from Previous Record in Same Table

    I have a table called AddressHistory with PersonID, CaseID, StartDate and EndDate. StartDate is a new column, and I need go through and update all of the StartDate values to be the EndDate of the previous record that belongs to the same Person. Can't seem to get there on my own :( any help...
  20. PGO01

    Do Partial Classes Extend Existing Code

    I get the impression that a partial class can extend existing (compiled) code. Is this correct? I've tried to mock up a simple example but I can't do it. Here's what I did: 1. I created a simple partial class and compiled it. 2. I created a new console app. and added a reference to my...

Part and Inventory Search

Back
Top