.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

error: << unexpected at this time

Posted By:      Posted Date: September 07, 2010    Points: 0   Category :WCF
 
hi Am trying to install temporary service certificate on my pc. the client and the server are on the same machine http://msdn.microsoft.com/en-us/library/cc949067.aspx  I have followed the steps.. and am good till second step.. but in step : 3  after the  makecert -sk <<UniqueKeyName>> -iv RootCATest.pvk -n "CN=<<MachineName>>" -ic RootCATest.cer -sr localmachine -ss my -sky exchange -pe i am getting the error saying "<< was unexpected at this time" , and could not proceed furthur.   Please let me know   thanks


View Complete Post


More Related Resource Links

Custom Control Design-Time SiteMap Provider Error

  

Greetings - I was referred here by MSDN forums hope this is the right place -  

I have a custom control (:WebControl) that renders web.sitemap in a specific way. While it runs error free and produces the expected result, at Design-Time it complains

Error Creating Control - MyControl  The provider 'AspNetXmlSiteMapProvider' specified for the defaultProvider does not exist in the providers collection.

I have discovered that the error is cause by this line of code:

string div = string.Format("<div class='{0}' id='{1}'>{2}</div>", this.CssClass, this.ID.ToString(), EnumerateNodesRecursive(SiteMap.RootNode, level));

or more specifically, by the reference to SiteMap.RootNode - I am not clear what is missing thoough because I have configured the SiteMapProvider in web.config as this:

<siteMap>
      <providers>
        <clear/>
        <add name="AspNetXmlSiteMapProvider" 
             type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 
             siteMapFile="web.sitemap" 
             securityTrimmingEnabled="true"/>
      </providers>
    </s

Trying to set Calendar Time Interval Using Calculated Column, but getting Error

  

 

So i was trying to use a calculated column that added 7 days to the start date of a calendar item. The calculated column worked fine because i checked with several tests. Then i tried using the Column as the End Time in the Time Interval Setting in the Calendar View. This broke Sharepoint. Not the normal graceful error im using to seeing from Sharepoint but the Server Error Page when a dump happens in a ASP page. I havent enabled the full error page because i assume its not like i can fix it, i dont have the source code.

 

Does anyone else experience this? If so is it a known problem and being worked on?

 

Thanks!

Adam


Just-In-Time Debugger error when opening SQL Server studio express

  
Hi,   I am new to these forums; hope I am posing in the correct forum   I have problem opening the SQL Server 2005 Management Studio Express. Getting the error below   'An unhandled win32 exception occurred in ssmsee.exe [5336]'   Searched in many forums but none of the suggestions resolved my issue..   I have re-installed .net 2.0, upgraded to 3.5 but still no luck either   Have re-installed SQL server management studio express again no luck   Deleted the shell folder from both documents and settings and in registry still have the same problem   Appreciated your suggestions to resolve this issue   Many thanks

Query Time out error?

  
Iam getting the querey time out error, when processing dimension in SSAS? The error Details is: OLE DB or ODBC error: Query timeout expired; HYT00; Unknown token received from SQL Server; HY000.\ can any one help me on this....how to resolve this?

run-time error's do not jump to problem line but to assembly with some xml error.

  
  Used too, when there was a runtime error the ide would break at the line that caused the problem. Now I'm thrown into some assembly code with the error System.Windows.Markup.XamlParseException was unhandled   Message='The invocation of the constructor on type 'Main.MainWindow' that matches the specified binding constraints threw an exception.' Line number '4' and line   Which is extremely uninformative and inefficient. I can look down the chain to find the error thrown but this still is not very informative. How the heck can I get it back to the way it used to be? This has something to do with wpf and the assembly code has System.Windows.Markup.XamlReader.RewrapException as the address. I spend anywhere from 10x to 10000x as long because of this. If the code is simple then I still have to read the error code and click a button which takes time.   Also, I'd rather it break on the line and quit the process as it used to do. I don't need JIT debugging.  

PresentationHost.exe throw error: C Run-Time Error R6034

  
Hello, we are hosting one of our WPF (.NET 3.5 SP1) components within XBAP and thus it delivered through browser (explorer 8.0) to client. Some time clients (running explorer) receive error and this error thrown by presentetionhost.exe. The error is: C Run-Time Error R6034. We looked the error in forums and it appears related to manifest. But manifest exists for that WPF/XBAP application. Furthermore, the error does not occurs always only sometime and it not consistent it cannot be recreated on same machine for same scenario. Cleaning online app cache with mage.exe -cc does not resolve issue it continue to appear occasionally. Some comment: 1. it seems only appear at client machines, no evidence it appeared at developers machines. 2. Sometime application continues working after error box closed, but sometime it crushes. 3. May be it is not relevant but, the application accessing server side with WCF, but no error in this area. Does someone have ideas how to get rid of the error? Thanks, Pavel

error while executing SP more than one time

  
below the sample table and SP, CREATE TABLE A (ID INT IDENTITY(1,1), SOURCE VARCHAR(5)) ALTER PROCEDURE TEST2 (@PASSEDXML XML) AS BEGIN BEGIN TRY DECLARE @TESTXML XML(test) SET @TESTXML = @PASSEDXML PRINT 'A' END TRY BEGIN CATCH INSERT INTO A (SOURCE) VALUES ('A') END CATCH END GO and the XML schema "test" is below, CREATE XML SCHEMA COLLECTION [dbo].[test] AS N' <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="GroupOrder"> <xs:restriction base="xs:string"> <xs:pattern value="[1-9]"/> </xs:restriction> </xs:simpleType> <xs:element name="PDI_Approval_MetaData"> <xs:complexType> <xs:sequence> <xs:element name="TranDetails"> <xs:complexType> <xs:sequence> <xs:element name="GroupOrder"> <xs:complexType> <xs:attribute name="Value" type="GroupOrder" use="optional" /> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>' Now, while I executing below SP (that goes to catch

Job getting failed because of time-out error.

  

Hello Everybody,

                         I am having an automatic job which will run for every 30 mins. Sometimes, the dataload is getting failed because of time-out error. Please find the error details below.

Source: Process IMPT DWH Dimensions Analysis Services Execute DDL Task 
   Description: OLE DB error: OLE DB or ODBC error:
Time-out occurred while waiting for buffer latch type 4 for page (3:346697), database ID 2.; 42000.  End Error  Error: 2010-09-21 10:48:15.86     Code:

0xC11F000C     Source: Process IMPT DWH Dimensions Analysis Services Execute DDL Task     Description: Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'IPMT User Dimension', Name of 'IPMT User Dimension' was being processed.  End Error  E.  The step failed.

Please help me on this.

Thank you!!

Regards,

Pradeep.


Application time out Error after installing SQL Server 2008 R2 64 bit + CU3

  

Hi all,

webapplications  are  suffering  after installing SQL Server 2008 R2 64 bit  in my mechine.

Did i have do any thjing more make the connectons(validation faster)  or SQL Server 2008 R2 behaves like that..

any idea or suggestions are appreciated.

 

Thanks in advacne

 

 


SNIVAS

SQL error: Conversion failed when converting date and/or time from character string.

  
I hope someone can advise on the issue I'm having.

This SQL worked beautiful until I added in @startdt and @enddt and this section >> AND [Selldate] BETWEEN ' + @startdt + ' AND ' + @enddt + '

By adding in this condition, I now get the following error:

Msg 241, Level 16, State 1, Line 8
Conversion failed when converting date and/or time from character string.

I have tried changed variables to type = date and various iterations of date formatting, casting with no success. The date in the table is clean as a whistle.

(The CONVERT function is being used in setup for a PIVOT SQL which needs  VARCHAR for column headers)

Thanks in advance for your help, 
JR

declare @itemID varchar(20)
declare @startdt varchar(12)
declare @enddt varchar(12)
set @itemID = ''
set

New installation of SQL Server 2008R2 -Giving time out error

  

Hi all

I did side by side installation of SQL Server 2008 R2 RTM with no CU and I given a Alies name to the installation,until now applications working fine.Yester day SAN storage devices(iSCSI) are upgraded with new software.

after that I am getting an error

"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server, Error: -2)"

action required I found in Microsoft site is "Make sure that you have configured the firewall on the server instance of SQL Server to accept connections"

realy I don't know where I have configure this setting Please some help regarding

Thanks in Advance


SNIVAS

Ambigious error thrown, but not all the time

  

Hello, could someone please help me with the following problem.

I have a website that when I test it, I follow the same steps, for example   1. go to default page       2. click login          3. go to login page      4. login      5. get redirected to main page

6. click notifications   7. get redirected to notifications page


I would say 70% of the time, I am able to run the program with no error, but the other 30%, it will throw me an ambigious error right after step 6 on to step 7. The error says that my navigation web user control is ambigious in the namespace 'ASP'.


For an illustration of what I am talking about, I set up a site with a couple of pictures to show the layout of my files, the error etc   ( NO, I DO NOT HAVE ANY DUPLICATE NAMES !!!!! )

If you want to see the pics     it is at : https://sites.google.com/site/navbarerror/


Could someone please help me with this


PresentationHost.exe (XBAP) throw error: C Run-Time Error R6034

  

Hello,

we are hosting one of our WPF (.NET 3.5 SP1) components within XBAP and thus it delivered through browser (explorer 8.0) to client.
Some time clients (running explorer) receive error and this error thrown by presentetionhost.exe. The error is: C Run-Time Error R6034.
We looked the error in forums and it appears related to manifest. But manifest exists for that WPF/XBAP application. Furthermore, the error does not occurs always only sometime and it not consistent it cannot be recreated on same machine for same scenario.
Cleaning online app cache with mage.exe -cc does not resolve issue it continue to appear occasionally.

Some comment:
1. Sometime application continues working after error box closed, but sometime it crushes.
2. May be it is not relevant but, the application accessing server side with WCF, but no error in this area.
3. I read another thread of this forum: Deploying WPF app - runtime error R6034 (social.msdn.microsoft.com/Forums/?en-US/wpf/thread/233fee41-6cf9-40cd?-bf39-66ddade11746)
 and there the sxstrace tool in use, which in my case is not possible due XP OS.

Does someone have ideas how to get rid of the error?

Thanks, Pavel


Just-In-Time debugging this exception failed with the following error: Unspecified error

  

Hi just got the following event logged in the event log, may be just a random speed bump, but could someone please tell me where the documentation index, for 'Just-in-time debugging, errors' can be found on the microsoft website.

An unhandled exception ('System.InvalidOperationException') occurred in <replaced>SomeExecutable.exe<replaced end> [5880]. Just-In-Time debugging this exception failed with the following error: Unspecified error

Check the documentation index for 'Just-in-time debugging, errors' for more information.

Thanx in advance for any help.


Content Editor WebPart error "Cannot retrieve properties at this time"

  

I've found a similar post: http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/fc9b388c-2a16-436c-afb4-b6d06b2f5fe5...but i don't have the same errors on the event log.

- SP2 installed already

- Recyle Application Pool works but only temporarily ... it keeps happening again

I have the following and any help would be much appreciated!!!

1.

Event Type: Error
Event Source: Office SharePoint Server
Event Category: Office Server Shared Services
Event ID: 6482
Date:  10/13/2010
Time:  4:13:34 PM
User:  N/A
Computer: XX1
Description:
Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (a21cc2ec-8b2b-4ee1-bcc6-d971a5dcc263).

Reason: The trust relationship between this workstation and the primary domain failed.


Techinal Support Details:
System.SystemException: The trust relationship between this workstation and the primary domain failed.

   at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed)
 &n

SSAS Cube to give an error when cube not available during refresh time

  

Hi,

I am currently using the below query to know my last cube refresh time,

My cube refesh time is not fixed , I am trying to create a report which shows a status of cube availability i.e status should show red when cube is not available and when cube returns some value then it's green . How do I do that.

SELECT Cube_Name, Last_Data_Update

FROM $SYSTEM.MDSCHEMA_CUBES


Run time sql query error

  

Hi,

Good day to all,

I have a stored procedure where i am creating a run time query.

Stored procdure compiled successfully. But when parameter is passed its have an error.

ALTER procedure [dbo].[USP_GetRedemptionBYPlayer]
(
 @PlayerName nvarchar(30)=NULL,
 @PlayerID int=NULL,
 @RedemptionDateStart date=NUll,  
 @RedemptionDateEnd date=NULL  
)  
AS  
BEGIN TRY
BEGIN TRAN

Declare @Sqlquery Varchar(200)

Set @Sqlquery='Select * From Redemption';


IF @PlayerName IS NOT NULL
SET @Sqlquery=@Sqlquery + '(RTRIM(LTRIM(Rd.PlayerName))) Like % (RTRIM(LTRIM('+@PlayerName+'))) % ';     

Exec @Sqlquery;

BEGIN CATCH  
--if any occurs in try then rollback entire transaction  
        ROLLBACK  
        DECLARE @error_message NVARCHAR(MAX)  
        SELECT  @error_message = ERROR_MESSAGE() ;  
        RAISERROR(@error_message,16,1)    
END CATCH


Its have a Error like this.

Invalid format specification: '% (RTRIM(LTRIM(baln))

Categories: 
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