View Complete Post
I got this error while i was trying to create a web application - 'One or more types failed to load'. So i tried to run psconfig and got the same error.
Windows Server 2008 R2 x64
SharePoint Server 2007 x64 with MOSS SP1, MOSS SP2, WSS SP1 and WSS SP2
Microsoft Office Professional 2010 x64
Microsoft SQL Server 2005
And, here is the complete error -
Log Name: Application
Source: SharePoint Products and Technologies Configuration Wizard
Date: 8/27/2010 3:30:28 PM
Event ID: 104
Task Category: None
Failed to register SharePoint services.
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.
Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Pleas
I spend around few hours to find something about my issue on Internet. But I have no idea what to write in Google... :/
So I thought maybe it will be better to write here.
I wrote an application which can save and open it own files. Then I added special registry key and now when I double-click on a file associated with my application, Windows (OS) opens my application and load the file. Most application work like this
and thats OK.
But what I want to do?
I want my application to be opened just once. So when I double-click on a file the application will start running and load the first file. But when I double-click on second file (during my application is already running) windows will open second application.
And I want to load this second file to already running application. What should I do??
PS - I am writing WPF application in Visual 2010 with .Net4.
To monitor some application, I am using ManagementEventWatcher class and I have registered EventArrived event.
When I run application from .NET IDE it works fine. As I have not finished coding of other area on the same form, I have to run and close application serveral times. The problem is when I run application multiple times; for first few times EventArrived gets
fired very well. but After some executions it doesnot get fired.
When I restart machine, again it starts working fine. Does any one have any idea?
I am hosting an ASP.NET MVC 2 application on its own application pool.
Everything works fine if the application pool is running on Network Service with Full Control.
If I make the application pool to run on its application pool identity, even with full control, the web site runs ok but on every page with a form I get the following error:
"Validation of viewstate MAC failed. If this application is hosted by a Web
Farm or cluster, ensure that <machineKey> configuration specifies the same
validationKey and validation algorithm. AutoGenerate cannot be used in a
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Web.HttpException: Validation of viewstate MAC
failed. If this application is hosted by a Web Farm or cluster, ensure that
<machineKey> configuration specifies the same validationKey and validation
algorithm. AutoGenerate cannot be used in a cluster."
Any idea how to solve this problem?
I am trying to run a WPF application from a console application (e.g. a .bat file) but need to be able to receive console and error output from the WPF application.
I have console.writeline() and console.error.writeline commands in the WPF application but these are not received by the console application.
I would also like to receive a status value from the WPF on completion.
Is this possible?
If so could you give me a simple example using VB?
Here is the initial output of my program after running it from WinDbg:
CommandLine: "C:\Documents and Settings\Administrator\My Documents\Work\QMI_Test_Tool\QMI_UT_Source\Release\QMI Validation Tool.exe"
Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
ModLoad: 00400000 0048f000 QMI Validation Tool.exe
ModLoad: 7c900000 7c9b2000 ntdll.dll
ModLoad: 79000000 7904a000 C:\WINDOWS\system32\mscoree.dll
ModLoad: 7c800000 7c8f6000 C:\WINDOWS\system32\KERNEL32.dll
ModLoad: 77dd0000 77e6b000 C:\WINDOWS\system32\advapi32.dll
ModLoad: 77e70000 77f03000 C:\WINDOWS\system32\RPCRT4.dll
ModLoad: 77fe0000 77ff1000 C:\WINDOWS\system32\Secur32.dll
ModLoad: 7c420000 7c4a7000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCP80.dll
ModLoad: 78130000 781cb000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCR80.dll
ModLoad: 77c10000 77c68000 C:\WINDOWS\system32\msvcrt.dll
ModLoad: 7c9c0000 7d1d7000 C:\WINDOWS\system32\SHELL32.dll
ModLoad: 77f10000 77f59000 C:\WINDOWS\system32\GDI32.dll
ModLoad: 7e410000 7e4a1000 C:\WINDOWS\system32\USER32.dll
ModLoad: 77f60000 77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 7c4c0000 7c53d000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\m
Hi guys I have a web app that processes XML data. There are many steps,
but to keep things simple, here are the relevant parts:
I have extensive logs and ran across an
exception I can't explain. While trying to load the decrypted data into
XmlTextReader my app threw a System.IO.FileNotFoundException. My
application is not multi threaded, so all steps should complete
sequentially. I checked the timestamp of my logs when this
System.IO.FileNotFoundException was encountered which as 3:00 AM. I then
looked for the decrypted XML file the BATCH process should have
created, and it does exist, but the file created time stamp is 3:05 AM. I
can't understand why the file's created time is 3:05AM when my PGP
decrypt BATCH process says it completed @ 3:00 AM. Any ideas?
I am connected my application with local iis. I didnt get any solution from forum. I getting an error when i run the asp.net application. Building my web application are successful. But when i clcik on run or f5 .. It will show with
unable to start dubuging on the web server. <?xml version="1.0"?>
<DOCTYPE html public" -
Make sure the server is operating correctly. Verify there are no synatx error in web.config by doing a dubug. Start without debugging. You may also to refer to Asp.net and ATL server debugging topic in the online documentation.
I need a query that provides the current number of running instances of a client application.
The application is developed on VS2008 (.NET3.5, VB.NET) and accesses an Oracle 10g database via System.Data.OracleClient 22.214.171.124. Here the view SYS.V_$SESSION yields all I need to get the current number of running applications (which is the same as the number
of users logged in on each application instance).
I extended the application in order to access the database alternatively hosted on Sql Server 2008 R2 using System.Data.SqlClient 126.96.36.199. The view sys.dm_exec_sessions seems to be an equivalent to Oracles SYS.V_$SESSION but actually it is not!: