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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Couldnot solve this Unknown Build Error

Posted By:      Posted Date: October 27, 2010    Points: 0   Category :WPF

I am trying to run the project that was developed in another system under Visual Studio 2010. It is running without any error on that System, but when i tried to run it on my System it continuously generates the following error and the build process always fails.

Unknown build error, 'Could not load type 'System.Runtime.Versioning.TargetFrameworkAttribute' from assembly 'mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'

Can anyone help me to solve this error.


Saugat K.C.

View Complete Post

More Related Resource Links

LDAP Problem with .NET - Unknown error (0x80005000)


I am trying to create a proof of concept to show how to connect to an LDAP
server and how to search for values but I do not get anywhere. Here is what I
have so far:

Dim objEntry As DirectoryEntry
Dim objSearcher As DirectorySearcher


objEntry = New DirectoryEntry("ldap://www.openldap.com/dc=OpenLDAP,dc=org",
Nothing, Nothing, AuthenticationTypes.Anonymous)

objSearcher = New DirectorySearcher(objEntry, "(ou=People)")
objSearchResult = objSearcher.FindOne()

If Not objSearchResult Is Nothing Then
'Do something
End If

Catch ex As Exception

result.Text = ex.Message & vbNewLine & ex.Source

End Try

My code fails at the line:
objSearchResult = objSearcher.FindOne()

with the unhelpfu error of Unknown error (0x80005000)

As you can see I use the www.openldap.com directory and I can connect
anonymously using the Softeerra LDAP Browser 2.5

Any help would be greatly appreciated 

PS: I know there is already a similar thread (http://forums.asp.net/thread/1028020.aspx) but none of the suggeste

How can I solve this problem?::Compiler Error Message: CS0433: The type 'CrystalDecisions.Web.Cryst


I upgraded my web application from visual studio 2003 to 2008. When I want to create a report in visual studio 2008 and receiving this error at runtime. I am able to compile but when runnning thats when I am getting this error.

How can I solve this problem? please help.

Compilation Error

Server Error in '/IRPSDEV' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0433: The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\irpsdev\9e97e0a9\94a2ecd\assembly\dl3\151eb571\00df56e1_6064c201\CrystalDecisions.Web.DLL'

Source Error:

Line 161:        
Line 162:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 163:        private global::CrystalDecisions.Web.CrystalR

Error Build: Type or namespace could not be found, when referencing a web service

Hello, I'm new in writing C# application in Visual Studio 2008. I'm currently writing a web application for CRM 4.0 Reporting Service rendering. I reference my web application to our Reporting Service web service http://reportservername /ReportServer/ReportExecution2005.asmx and name it 'RSWebReference'. Then I want to reference it in my code: Using RSWebReference; Not sure why, but I cannot build my solution, saying "The type or namespace name 'RSWebReference' could not be found (are you missing a using directive or an assembly reference?)". I read this thread in http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/74f70e30-83e8-4817-b5e0-7729450730a1 that the website probably is using .net 1.1, and I should change it to .net 2.0. However, I think the website is already using 2.0. Is it probably because I'm using VS 2008? How can I tell and change if the website is using 1.1 or 2.0? Or could I be doing something wrong? Thanks in advanced for your help! -Elizabeth K.

Please solve this error..

Server Error in '/Study' Application. -------------------------------------------------------------------------------- Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index  int j=0; foreach (GridViewRow row in GridViewTest.Rows)         {             CheckBox cb = (CheckBox)row.FindControl("checkboxItems");              arrayCheckbox[j] = GridViewTest.Rows[j].FindControl("LabelEmpname");               j++;        } Server Error in '/Study' Application.--------------------------------------------------------------------------------Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index int j=0; foreach (GridViewRow row in GridViewTest.Rows) { CheckBox cb = (CheckBox)row.FindControl("checkboxItems"); arrayCheckbox[j] = GridViewTest.Rows[j].FindControl("LabelEmpname"); j++; } Hello friends please solve my error..

Cannot delete custom column in calendar list - 'unknown error'

I've created a column in a calendar list and now cannot delete it.  I've cleared all data and I still get the "Unknown Error" message when I try to delete. jan

Unknown Error while uploading a document

hi, While uploading a document , it says 'unknown error' after loading long time. while checking in log file, no entry with respect to this. How to find the cause of this Issue. Please Guide me

SQL Server 2008 Express Setup failure: Unknown Property Error

I am trying to install SQL server 2008 on windows 7 but it returns the following error when almost done with installation: TITLE: SQL Server Setup failure. ------------------------------ SQL Server Setup has encountered the following error: Unknown property. . ------------------------------ BUTTONS: OK ------------------------------   Can someone please assist me with this, I have tried for more than a week to go around it. I have also searched online for solutions but in vain. Looking into the log files, I see these: 2010-09-05 21:04:41 Slp: Running Action: Install_SqlBrowser_Cpu32_Action 2010-09-05 21:04:41 Slp: Target package: "C:\Softwares\Database and Management\SQLEXPRADV_x86_ENU\x86\setup\sqlbrowser.msi" 2010-09-05 21:04:46 Slp: InstallPackage: MsiInstallProduct returned the result code 0. 2010-09-05 21:04:46 Slp: RunMsiCore succeeded. 2010-09-05 21:04:46 Slp: Checkpoint: INSTALL_SQLBROWSER_CPU32_ACTION 2010-09-05 21:04:46 Slp: Completed Action: Install_SqlBrowser_Cpu32_Action, returned True 2010-09-05 21:04:46 Slp: ---------------------------------------------------------------------- 2010-09-05 21:04:46 Slp: Running Action: Install_SqlSqmShared_Cpu32_Action 2010-09-05 21:04:47 Slp: Error: Action "Install_SqlSqmShared_Cpu32_Action" threw an exception during execution. 2010-09-05 21:04:47 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExec

VS2010 Web App does not build Release - Could not load AjaxControlToolkit error

I have a VS2010 Web Application that uses the AjaxControlToolkit. I am able to build the Debug configuration. When I build the release configuration I get the following error message: Error 89 Could not load file or assembly 'file:///S:\My Code\Libraries\ACT\May 2010\AjaxControlToolkit.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) S:\My Code\EZFishing\EZFishing\EZFishing\SGEN EZFishing The location of the file is correct, and I just downloaded and unzipped there the Ajax CT. I have always built this app correctly before upgrading to VS2010 and ACT May 2010. Any idea of what is going on? Thank you in advance for your help. Mauro  

How to solve this "Smtp: Mailbox Unavailable or not local " error ?

I am trying to send Email to the Email Addresses stored in the Database, some are working fine but I am getting stuck when I get hit with this error.. The server rejected one or more recipient addresses. The server response was: 550 Requested action not taken: mailbox unavailable or not local I think this is something to do with SMTP Virtual Server Settings in IIS but i dont know what actually i should change over there. The code in the ASP.NET page worked for 40-50 mail addresses but suddenly i am getting this error Can anyone help please. Any ideas will be of great help to me .. Thanks in Advance

Modifying Customizing EditForm.aspx of Doc lib breaks Upload function - Unknown Error

Part of a bigger design issue really. But does anybody know why customizing EditForm.aspx of a Doc lib breaks the Upload function? and how to fix it so it does not. My version of the editform works great, but after an upload I get Unknown Error the resulting url looks like this: https://xxxxx.edu/sites/xxxx/_layouts/Upload.aspx?List=%7b0404432B-91A3-4E18-9202-5954E3A7E0D2%7d&RootFolder=%2fsites%2fmcpharm%2ftest3&Source=https%3a%2f%2fxxxxx.edu%2fsites%2fmcpharm%2ftest3%2fForms%2fAllItems.aspx --- The bigger design issue - disregard if you like: That said, the bigger design issue is we are trying to relate one list row to many documents, but don't want to seperate the docs into seperate folders and would like the solutoin to be seamless. We are going to add a look up from the doc lib to the list, but did not want to use anythng but the List's ID column. However, we do not want users to have to manually look up List row IDs in that form, and we did not want to use a list column that can be edited, even if we can add a unique column policy. My design and thinking is to build a few custom pages with dataviews to show row level details in both lists (1 to many) and a dataview to drive list level functions like edit, delete and upload docs. I think all the pieces are there except for the less than graceful upload function that fist uploads the file and then asks the

"Unknown error" when adding link to My Links

When I click "Add to my Links" I get an unknown error, but only with some users. "Manage Links" works, mind you. But I still can't figure out what differs between those users... any suggestions?(People in this thread have a somewhat similar error, but with "Manage Links" instead of "Add to my Links".)

Unknown error trying to lock file

Hi This error may have been reported in the forum before. If so I apologise for asking again, but I just can't find any reference to it (or any solution).This is using IE7, Vista Business 64bit, Word 2007To summerise: (step by step)1. We log into Sharepoint (from remote locations)2. We locate the list containing items with attached documents3. Selecting the document gives the "harmful..." message4. Microsoft Word loads up with a certificate warning (which we accept)5. We then are prompted to log in a second time.6. It then prompts with a certificate ("Select Certificate") dialog. (We select OK 3 times)7. Word opens the document in Reader view8. Document reports "Server document" at the top of the screen next to the "Edit Document" option.9. Choose "Edit Document"10. and we get "Unknown Error trying to lock file".The same sequence of events using Windows XP has no problems.Switching back to XP is not an option.Various threads scattered through the internet talk of various solutions from port numbers to running Word in XP sp2 compatible mode. None of these solve the problem. Can someone give me some indication of what is going wrong here. I'm not completely up to speed with sharepoint, but if you ask the questions, I'll dig out the answers.Best regardsRobert

Error on build

hi, I am getting the following error when i try to build my WCF application in VS 2010: The type 'Namespace.Servicename', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found. Please help.

Can not solve this html error .

Hello everybody. i am trying to make my web site 0 html error at http://validator.w3.org for better seo but i have 2 html error atm and can not solve it could you please help me thank you   error results   http://validator.w3.org/check?uri=http://www.pokemoncraft.com/Pokedex&charset=(detect+automatically)&doctype=Inline&group=0   the code causes error  <div id="PokeNationIdTitleSort_Tr" style=" position:absolute; left:0px; text-align:center; width:48px; height:12px; line-height:12px; overflow:hidden; top:34px;"> <asp:ImageButton ID="btnSiralaPokeNationNo_Tr" onclick="SiralamaDegistirPokeNationNo" runat="server" /> </div> <div id="Loader" style=" position:absolute; top:64px; left:800px; overflow:hidden; width:64px; height:64px;"> <asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate > <% if (srLang == "en") { %> <asp:Image ImageUrl="~/images/gamepageimages/GamePageLoader_en.gif" ID="imgAjaxLoader" ToolTip="Waiting Server To Respond" runat="server" /> <%} %> <% if (srLang == "tr") { %>

Unknown server tag error even after assembly registration


Hey guys,

I don't know what is going on. When I try to add a tab container in my page, it allows me to do that but when I modify the code, the unknown server tag error pops up in the design view of the page.

I checked the source code to see if I had my @register clause in there, and it was there, but still the error shows. I don't know what happened, the last time it worked perfectly.

I have also recently downloaded the cute editor for .net and installed the .dlls to my bin folder and it is showing the same simtoms as well.

Had any1 encountered this problem before and if so how did you fix it?



Unknown error (0x8000500c) as directoryEntry but no problem as search result



I'm reading values from open LDAP and get the folowing error;

{System.Runtime.InteropServices.COMException (0x8000500C): Unknown error (0x8000500c)
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at com.baml.gmrt.ges.mockAims.DAL.UsersDAL.getUser(String ldapPath) in C:\Repositorys\IAM\poc\trunk\ges\test\IAM-Mock-AIMS-GUI\MocGui\DAL\UsersDAL.cs:line 209
   at MocGui.UI.EPX_manageUser.loadUserByPath(String thisPath) in C:\Repositorys\IAM\poc\trunk\ges\test\IAM-Mock-AIMS-GUI\MocGui\MocGui\UI\EPX_ManageUser.aspx.cs:line 36
   at MocGui.UI.EPX_manageUser.Page_Load(Object sender, EventArgs e) in C:\Repositorys\IAM\poc\trunk\ges\test\IAM-Mock-AIMS-GUI\MocGui\MocGui\UI\EPX_ManageUser.aspx.cs:line 23
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.

Workflow status page "unknown Error"

Hi ,

  Since two days I am facing weired error from simple workflow. I have created a simple infopath form and WF (in SPD). Workflow starts normally and ends also. But when I click the status link "completed" it just throws an 'unknown error' page. It used to work few days back and suddenly stopped. I canno't see the the log or any status. Other workflows in other site collections work fine.  

The link to the page is :http://servername/_layouts/WrkStat.aspx?List={656C7595-C056-483A-8058-C2402BC78B9C}&WorkflowInstanceID={8ac46ac9-aae0-434d-a3ea-f8125f08df96}

Checking the moss log I found :

Exception Type: System.NullReferenceException Exception Message: Object reference not set to an instance of an object

Any help ??


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