„The system cannot find the file specified. (Exception from HRESULT: 0x80070002)" - Error when trying to create an new controlled GPO
Hello,
we were planning to Upgrade from AGPM 4.0 to AGPM 4.0 SP2. The new AGPM should be placed on a new server. Additionally we created a new service account as the password of the old service account has been lost. We granted the new service account Full Rights
in "Domain Delegeation" and "Product Delegation", then stopped the AGPM Service on the old server.
On the new server AGPM was installed using the new service account, then the service was stopped and the archive was copied rom the old to the new server. The customer could edit policies, but not deploy them. Because of this, we changed back to the old
server, but copied the folders that were changed on the new server to keep them up to date.
Now creating a controlled Group Policy from a template causes the error
„The system cannot find the file specified. (Exception from HRESULT: 0x80070002). We tried several templates and even created new ones but the problem persists.
The following things do work:
- editing a controlled policy
- renaming a controlled policy
- check in/check out of a policy
- set a uncontrolled policy to controlled (needs to grant the serviceaccount Full rights to the policy before)
- deletion of a controlled policy
- creating a template from a policy
Thank you in advance for your help.
0x80070002 usually means that the source could not be found or located. Make sue that the FQDN path to your templates is the correct one as well as your DNS is
properly configured.
sharing some manuals @: http://1drv.ms/1kk6u6j
Similar Messages
-
Hello,
I am creating an app using NAPA tool in Office 365. I am trying to "Add an attachment" to a custom list item using SPServices. When I am using my code (jquery code) in content editor web part on a page, its working fine, but when I am adding
the same code in an app, its giving me error : "The system cannot find the file specified. (Exception from HRESULT:
0x80070002)" - 500 Internal Server error.
(function () {
// This code runs when the DOM is ready and creates a context object which is
// needed to use the SharePoint object model
$(document).ready(function () {
//alert('In doc ready');
$('.attachmentButton').change(function(event){
var listName = 'UploadTest',
itemId = 2;
handleFileChange(listName,itemId,event.target.files);
function handleFileChange(listName,itemId,files){
alert('In handleFileChange :=' + listName + "" + itemId + "" + files[0]);
alert('files.length :=' + files.length);
var filereader = {},
file = {},
i=0;
//loop over each file selected
for(i = 0; i < files.length; i++) {
alert('In for loop');
file = files[i];
filereader = new FileReader();
filereader.filename = file.name;
alert('filereader.filename :=' + filereader.filename);
filereader.onload = function() {
var data = this.result;
var n=data.indexOf(";base64,") + 8;
//alert('n :=' + n);
//removing the first part of the dataurl give us the base64 bytes we need to feed to sharepoint
data= data.substring(n);
//alert('data :=' + data);
alert('Above SPServices this.filename :=' + this.filename);
$().SPServices({
operation: "AddAttachment",
listName: listName,
asynch: false,
listItemID:itemId,
fileName: this.filename,
attachment: data,
completefunc: function (xData, Status) {
console.log('attachment upload complete',xData,status);
alert('Status :=' + Status);
if (Status.toLowerCase() == "error"){
alert(xData.responseText);
alert(xData.status);
alert(xData.statusText);
filereader.onabort = function() {
alert("The upload was aborted.");
filereader.onerror = function() {
alert("An error occured while reading the file.");
//fire the onload function giving it the dataurl
filereader.readAsDataURL(file);
alert(xData.responseText); - gives error - " "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)""
alert(xData.status); - gives error - "500"
alert(xData.statusText); - gives error - "Internal server error"
Server Publishing infrastructure and Server publishing features are activated on site collection and site respectively.
Any suggestions, why I am getting this error in NAPA ?Hi,
According to your post, my understanding is that you have an issue about adding attachments to list items in app.
To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
There are two articles about retrieve the list and list items in the host web, you can refer to them.
http://www.dotnetcurry.com/showarticle.aspx?ID=1028
http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
What’s more, we can also use the REST API to achieve the same scenario.
http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
I m getting this error on page load of visual webpart added to the sharepoint site.What could be the issue??I m getting this error like in dev and not in test environment..What could be the issue??
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)could you please share complete stack trace of the error, there could be differnt reason for this error?
share the stack trace and also check the ULS logs.
did you try to redeploy the webpart( completely removing and re adding)?
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Hello,
I'm trying to install a VSTO on a clients machine and get the following error message.
Could this be something wrong with the .Net Version?
Application Domain: AWAddinInstaller.exe
Assembly Codebase: update files/AWAddinInstaller.exe
Assembly Full Name: AWAddinInstaller, Version=9.2.0.14, Culture=neutral, PublicKeyToken=null
Assembly Version: 9.2.0.14
Assembly Build Date: 11/12/2013 12:12:58 PM
Exception Source: mscorlib
Exception Type: System.IO.FileNotFoundException
Exception Message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Exception Target Site: nLoadFile
---- Stack Trace ----
System.Reflection.Assembly.nLoadFile(path As String, evidence As Evidence)
AWAddinInstaller.exe: N 00000
System.Reflection.Assembly.LoadFile(path As String)
AWAddinInstaller.exe: N 00084
AWAddinInstaller.AWAddinInstaller.RegisterAddin(forceVSTO As Boolean)
AWAddinInstaller.exe: N 00602Hello AntronD,
The installer complained that The system cannot find the file specified. However I'm confused that why the VSTO is related to AWAddinInstaller.exe.
Could you please navigate to your %temp% folder and search for your VSTO logs out and paste it here? I need it to check for details.
Regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I am getting error on creating even the empty web application project. The error message is as given below:
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
I am using following build of Visual Studio:
Visual Studio Professional 2013. Version 12.0.30723.00 Update 3
Looks like it is the problem with the installation of the visual studio. But I can't take risk of re-installing now because it would stop my going on development work.
Any would help to resolve this would be appreciated.
P.S. I am also having Visual Studio 2010 and Visual Studio 2012 Ultimate on my system.
Regards, RandeepHello Randeep,
Will you get the same error when creating any other apps, like C# WinForm?
If only web application project has the problem, you can try the following to reset the templates:
Please open Windows Explorer, and navigate to <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 12.0\Common7\IDE);
Delete the ItemTemplatesCache, ProjectTemplatesCache folder;
Open Visual Studio Tools/Developer Command Prompt for VS2013
under Start menu -> All Programs -> Microsoft Visual Studio 2013 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
Run the devenv /InstallVSTemplates switch;
Run the devenv /Setup switch
If all your projects get this error, please try repair the installaiton from control panel first. By the way, can you use Visual Studio Web projects before you get this error? And have you tried to use the Visual Studio Update 4, I see you still used
Update 3, is there any reason for you to still use the Update 3 version?
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hello Im trying to configure IPAM but im getting this error.
PS C:\Users\Administrator.IPADE.MX> Invoke-IpamGpoProvisioning –Domain actdir.ipade.mx –GpoPrefixName IPAM –IpamServerFq
dn minte.actdir.ipade.mx –DelegatedGpoUser Administrator -DomainController discovery.actdir.ipade.mx
Invoke-IpamGpoProvisioning : Failed to import GPO. The system cannot find the file specified. (Exception from HRESULT:
0x80070002)
At line:1 char:1
+ Invoke-IpamGpoProvisioning –Domain actdir.ipade.mx –GpoPrefixName IPAM –IpamServ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Invoke-IpamGpoProvisioning], Exception
+ FullyQualifiedErrorId : InvalidOperation,Invoke-IpamGpoProvisioning
In the event viewer I founf this but I don't know what to do.
Import of backup failed. Error [The system cannot find the file specified.
Details -
Backup
Directory: The system cannot find the file specified.
Instance : C:\Users\Administrator.IPADE.MX\AppData\Local\Temp\1\ipamprov
Comment : {09673450-4573-42E8-85D0-104144DF0BA3}
Source GPO:
DisplayName: IPAMGPO_DNS
ID: IPAMGPO_DNS
Domain: {7F345996-1D92-4194-85BF-72BFB5298EDA}
Destination GPO:
DisplayName: ipamtestsetup.com
ID: IPAM_DNS
Domain: {447E8380-91AF-4C2D-8DAA-2C090A6400E8}Hi,
Before going further, what was name specified in the IPAM provisioning wizard while selecting Group Policy based provisioning method? The GPO prefix name specified in the
PowerShell command must be same as the one specified in the IPAM provisioning wizard while selecting Group Policy based provisioning method.
Regarding Invoke-IpamGpoProvisioning, the following article can be referred to as reference.
Invoke-IpamGpoProvisioning
http://technet.microsoft.com/en-us/library/jj553805.aspx
Best regards,
Frank Shen -
I purchased Microsofts "All My Storage Pro" and so fare its been one disappointment after another but I won't go into all the problems I've had just the latest one. I was attempting to upload a file from my c:\Download folder to my OneDrive and
received a "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)". Now I know the file is there because I just installed it from there, So whats the deal? and can I get my money back from Microsoft
for this disaster of an app?
Robert L. MassieI purchased Microsofts "All My Storage Pro" and so fare its been one disappointment after another but I won't go into all the problems I've had just the latest one. I was attempting to upload a file from my c:\Download folder to my OneDrive and
received a "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)". Now I know the file is there because I just installed it from there, So whats the deal? and can I get my money back from Microsoft
for this disaster of an app?
Robert L. Massie -
Error message on my development workstation: The system cannot find the file specified.
Post Author: cseverin
CA Forum: Crystal Reports
Hi,
I am currently developing an ASP.NET website using Visual Studio.NET 2005. I am using the .NET 2.0 framework, VB.NET as my programming language and I connect successfully to a SQL Server 2005 database. I can select, insert, update and delete data from the database elsewhere in my project, so I know basic connectivity isn't an issue. The problem seems to be with Crystal Reports.
I created a folder called 'Reports' in my project and added a Crystal Report file (OpenFiles.rpt) to it. I designed the report and initally used a hard-coded SQL query as its datasource so I could quickly get the database fields onto the report and preview them. All worked fine.
To make the report accessible to the rest of the website, I created an .xsd dataset file containing the three tables (and their corresponding tableadapters) that the report requires and then redeveloped the report using the dataset as the datasource for the report. After doing this, the preview no longer worked.
Next, I added a page to the website and dragged a Crystal Report Viewer Control onto it. In the code behind the page I wrote:
Option Strict On
Imports System.Data
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Partial Class Reports
Inherits System.Web.UI.Page
Private objOpenFilesreport As OpenFilesReport
Private rptOpenFiles As ReportDocument
Private strLastErrorMessage As String = Nothing
Private errLastException As Exception = Nothing
Dim strFileKey As String
Dim strJurisdictionCode As String
Dim strStaffId As String
Dim strReportId As String
Private Sub ConfigureCrystalReports()
Dim reportPath As String = Server.MapPath("OpenFiles.rpt")
Dim rptopenfiles As New ReportDocument
rptOpenFiles.Load(reportPath) <== I checked this during execution and the value correctly points to the OpenFiles.rpt file in the Reports folder of my project
Dim ConnectionInfo As ConnectionInfo = New ConnectionInfo()
ConnectionInfo.DatabaseName = my database
ConnectionInfo.UserID = login id of user
ConnectionInfo.Password = user's password
SetDBLogonForReport(ConnectionInfo, rptopenfiles)
CrystalReportViewer1.ReportSource = rptopenfiles
End Sub
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
ConfigureCrystalReports()
End Sub
Private Sub SetDBLogonForReport(ByVal ConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
myTableLogonInfo.ConnectionInfo = ConnectionInfo
myTable.ApplyLogOnInfo(myTableLogonInfo)
Next
End Sub
End Class
I added a hyperlink to one of the existing pages on the website to navigate to this page with the report viewer on it. When I run the website in Visual Studio and click on the hyperlink I get the following:
Server Error in '/MyTest' Application.
The system cannot find the file specified.
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.Runtime.InteropServices.COMException: The system cannot find the file specified.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[COMException (0x80004005): The system cannot find the file specified.
]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +442
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +513
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1378
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +149
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +85
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +158
CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +130
CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +191
CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +90
CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +47
System.Web.UI.Page.OnLoadComplete(EventArgs e) +96
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4086
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
Any ideas, anyone?
Also, assuming I can get past this error, I will need to figure out how to fill the tables in the .xsd dataset file. I have written a class for the dataset that includes functions that populate the tables in the dataset from the database by executing SQL queries. But how do I call these functions at the time the report is run?
This is my first Crystal report written in .NET and I've been struggling with it for days now. Any help would be most appreciated!
Thanks very much!
Chris Severinhello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.
-
Upgrading from MBAM 1.0 to 2.5 on the Administration and Monitoring server (database server already upgraded). To upgrade the administration server, I uninstalled MBAM 1.0 -> Deleted the MBAM website from IIS manually -> Reboot -> Installed MBAM
2.5. After upgrade if I go to selfservice portal via
https://myserver.mycompany.com/selfservice, I get this error:
Server Error in '/SelfService' Application.
Could not load file or assembly 'System.Web.WebPages.Razor,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
dependencies. The system cannot find the file specified.
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.IO.FileNotFoundException: Could not load file or assembly
'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
find the file specified.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
System.Web.Mvc.PreApplicationStartCode.Start() +0
[InvalidOperationException: The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +12980619
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +12980328
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +280
System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151
[HttpException (0x80004005): The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261
Anyone know how to solve this? Thanks in advanceSorry for late response. I fixed the issue by installing the correct version of ASP .NET 4 from
here.
If .NET Framework 4.5 is already installed, also run aspnet_regiis -i from C:\windows\microsoft.net\Framework\v4.0.30319 -
Getting ComException (0x80004005):The system cannot find the file specified
Our customer is getting an error from her remote location via the internet, running a report that has not changed in a year. None of our other customers are having this problem. When we sign in from our office with her credentials, we do not get the error. We've had her reboot, clear cache, etc. She has tried from Firefox and IE ... same result.
She is running WindowsXP and signs into our website VB program on a 2008Server under IIS aspx.net and SQL Server. We are using Crystal Reports 2008 v12.2.0.290 full.
The error is:
[COMException (0x80004005): The system cannot find the file specified.
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +356
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +419
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +895
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
nettax.newtax_cr_1.GenerateReport(String Reportname) in F:\the cloud nettax with codebehind\nettax\newtax_cr_1.aspx.vb:137
nettax.newtax_cr_1.page_load(object sender, eventargs e) in F:\the cloud nettax with codebehind\nettax\newtax_cr_1.aspx.vb:1316
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Again, we have made no changes ... it has just stopped working for her, yet other remote users are creating the report just fine .... BUT, each has their own SQL database that the report is being created from. Any help??I moved your post to the .NET - SAP Crystal Reports forum.
Only idea I have at this time is to get [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] on this. You'll have to download it on to the server. Filter for the worker process so you limit the log size. Then have the customer attempt to load the report. Once she gets the error, you can save the log. Look for any errors re. load of files (DLLs, rpt files, etc.) and also look for "Access Denied" errors on files as well as registries.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
ORA-20100 The system cannot find the file specified 0RA-06512
I can create and deploy a .NET stored procedure but when I run it either from Visual Studio 2005 Oracle Explorer or TOAD or SQLPlus I get the following:
ORA-20100: The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_CLR", line 211
ORA-06512: at "PROD.GETSEGADDRNO", line 7
ORA-06512: at line 1
It is basically the same C# code as the OTN sample except for accessing a table in my database.
I found a forum thread dated 2006 with basically the same error message and it said the problem was fixed in Oracle Database patched to 10.2.0.2 but I can't find such a patch for 10g R2 Enterprise.
This is my first time setting up Server 2003, Oracle 10g and ODT for .NET
(I successfully created and deployed an external procedures for Oracle 8.1.7 on Windows 2000 a couple of years ago)
This is the code:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
// use the ODP.NET provider
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
namespace CLRLibrary1
// Sample .NET stored function returning address number (ADDR_NO) for
// a given segment number (SEG_NO)
public class Class1
public static int GetSegAddrNo(int segno)
int addrno = 0;
// Check for context connection
OracleConnection conn = new OracleConnection();
if (OracleConnection.IsAvailable == true)
conn.ConnectionString = "context connection=true";
else
throw new InvalidOperationException("context connection" +
"not available");
conn.Open();
// Create and execute a command
OracleCommand cmd = conn.CreateCommand();
cmd.CommandText = "SELECT ADDR_NO FROM SEG WHERE SEG_NO = :1";
cmd.Parameters.Add(":1", OracleDbType.Int32, segno,
System.Data.ParameterDirection.Input);
OracleDataReader rdr = cmd.ExecuteReader();
if (rdr.Read())
addrno = rdr.GetInt32(0);
rdr.Close();
cmd.Dispose();
conn.Close();
return addrno;
} // GetSegAddrNo
} // Class1
} // CLRLibrary1
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
was installed from the Oracle downloads site: 10201_database_win32.zip
On Windows Server 2003 R2 Standard Edition SP2
Oracle .NET tools was installed using: ODTwithODAC1020221.exe
The CLR Service is running
Deployment says that it is successfull.
The DLL is in the expected Oraclehome\BIN\CLR folder
The deployment script is:
CREATE OR REPLACE LIBRARY "SYS"."ORATEST6_DLL" AS '$ORACLE_HOME\bin\clr\OraTest6.dll';
GRANT EXECUTE ON "SYS"."ORATEST6_DLL" TO PROD;
GRANT EXECUTE ON "SYS"."DBMS_CLR" TO PROD;
GRANT EXECUTE ON "SYS"."DBMS_CLRTYPE" TO PROD;
GRANT EXECUTE ON "SYS"."DBMS_CLRPARAMTABLE" TO PROD;
CREATE OR REPLACE FUNCTION PROD.GETSEGADDRNO wrapped
a000000
1f
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
8
147 138
ePHIr6kvu6nZ9gYrxgs40akg18owg1zQf/ZqZ3QC2vjqaIs25soMp1nBmBfBj1ZboVvNkdPT
8qhpuEVdmv4n2nlF5ynrhLsm3F0h9ZGrTQ4tGYIybWjMFxYNlDDeBOx1i7O0GviP8AxHys23
kW8aTVA2xV8IuLNlwP7KWFw70tGbg+lUIlRhYo5WmLW6N9wcjOCeLZK6W6s6tvd4zKAQykzc
sIsaneE0FWyV9Q1BD0yJpLoCfWH+f6fVXsne5Feyxu68k5geCJ8F5FCLm2ycvxIiKNKTIpiD
q4wshbsYLTTPHX3F6pA=
The parameter mapping is:
return value int32 number
segno int32 number
Bob Sorrell
[email protected]
863-662-5524These are the Reference Properties for Oracle.DataAccess in the OraTest6 app:
Aliases: Global
Copy Local: False
Description: Oracle.DataAccess.dll
File Type: Assembly
Identity: Oracle.DataAccess
Path: c:\oracle\ora102\odp.net\bin\2.x\Oracle.DataAcess.dll
Resolved: True
Runtime Version: v2.0.50727
Specific Version: False
Strong Name: True
Version: 2.102.2.20
This is what GacUtil shows:
The Global Assembly Cache contains the following assemblies:
Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
Oracle.DataAccess, Version=1.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342
Number of items = 2
The GAC seems to contain both 2.102.2.20 and 1.102.2.20
Do I need to remove one? -
Installing 11g middleware on Win2003 server. During Application Configuration portion the install fails in the Deploying Enterprise Manager step. Error log shows 'oracle.as.provisioning.exception.ASProvWorkflowException: The system cannot find the path specified'. I've pointed the environment variables to a temp directory that does not have spaces in the name (c:\TEMP) and placed the installation files in directories that do not have spaces. I can't tell what directory it can not find. Any ideas?
Adding Templates.
DEBUG : Checking if Templates are Already Applied.
DEBUG : Checking Template : C:/bea/oracle_common/common/templates/applications/oracle.em_11_1_1_0_0_template.jar
DEBUG : domain-info.xml location : C:/bea/user_projects/domains/ClassicDomain/init-info/domain-info.xml
DEBUG : Reading Template to be applied : C:/bea/oracle_common/common/templates/applications/oracle.em_11_1_1_0_0_template.jar
DEBUG : Name of the template : Oracle Enterprise Manager
DEBUG : Version of the template : 11.1.1.0
DEBUG : Reading domain-info.xml. Checking templates already applied.
C:/bea/oracle_common/common/templates/applications/oracle.em_11_1_1_0_0_template.jar
oracle.as.provisioning.exception.ASProvWorkflowException: The system cannot find the path specified.
The system cannot find the path specified.
at oracle.as.provisioning.weblogic.ASDomain._addTemplate(ASDomain.java:4176)
at oracle.as.provisioning.weblogic.ASDomain.addTemplate(ASDomain.java:3973)
at oracle.as.provisioning.engine.WorkFlowExecutor._addTemplates(WorkFlowExecutor.java:1398)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:475)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:619)
oracle.as.provisioning.exception.ASProvisioningException
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:619)
Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: The system cannot find the path specified.
The system cannot find the path specified.
at oracle.as.provisioning.weblogic.ASDomain._addTemplate(ASDomain.java:4176)
at oracle.as.provisioning.weblogic.ASDomain.addTemplate(ASDomain.java:3973)
at oracle.as.provisioning.engine.WorkFlowExecutor._addTemplates(WorkFlowExecutor.java:1398)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:475)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
... 13 more
progress in calculate progress3
progress in calculate progress3I unistalled everything and started over and eliminated Enterprise Manager from the list. Now it cancels at the Application Configuration step in Applying Oracle JRF Template with the same error. Cannot find path specified.
Does anyone have any idea what path it could be looking for? I can't tell where else to look.
Extending Domainwith JRF
oracle.as.provisioning.exception.ASProvisioningException
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
at oracle.as.install.classic.ca.standard.JRFApplicationTask.execute(JRFApplicationTask.java:78)
at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
at java.lang.Thread.run(Thread.java:619)
Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: The system cannot find the path specified.
The system cannot find the path specified.
at oracle.as.provisioning.weblogic.ASDomain._extendDomainWithJRFTemplate(ASDomain.java:3955)
at oracle.as.provisioning.weblogic.ASDomain.extendDomainWithJRFTemplate(ASDomain.java:3762)
at oracle.as.provisioning.engine.WorkFlowExecutor._extendDomainWithJRF(WorkFlowExecutor.java:1413)
at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:437)
at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
... 14 more
progress in calculate progress4
progress in calculate progress4 -
Xalan, xsl:include, The system cannot find the file specified
Hi
Xalan is unable to parse stylesheets which contain xsl:include
directives, even if the file being included is in the same directory.
I'm currently porting our web application to weblogic 6.0 sp2 running on
Windows 2000. The application works fine except for one annoying problem,
this problem only manifests on Weblogic 6.0 sp2.
I've got a servlet which makes use of a jsp tag. The tag uses the
ServletContext.getResource() to reference a stylesheet in the webapps' xsl
subdirectory. If that stylesheet contains an xsl:include e.g. <xsl:include
href="myother.xsl"/>, myother.xsl is contained in the same directory as the
stylesheet containing the include. Xalan fails to parse the stylesheet. The
following exception is thrown "org.apache.xalan.XSLProcessorException: The
system cannot find the file specified".
I've currently amended the weblogic classpath as follows
set
CLASSPATH=.;c:\myjars\xerces.jar;c:\myjars\xalan.jar;c:\myjars\bsf.jar;c:\my
jars\js.jar;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
xerces v1.4
xalan v1.2.2
bsf (as supplied with xalan 1.2.2)
js (Mozilla Rhino 15R2)
The code in the jsp tag to load the stylesheet is as follows
XSLTProcessor processor =
XSLTProcessorFactory.getProcessorUsingLiaisonName("org.apache.xalan.xpath.xd
om.XercesLiaison");
URL styleSheetUrl =
pageContext.getServletContext().getResource("/xsl/myxsl.xsl");
StylesheetRoot stylesheet = processor.processStylesheet(new
XSLTInputSource(styleSheetUrl.toExternalForm()));
Any help would be appreciated.
Regards
Tony -
Hi,
I am facing an issue when I deploy the application to Azure. Not sure what's causing the issue, It runs fine when debugged locally.
XmlSerializer s = new XmlSerializer(typeof(List<SomeClass>));
Below exception is thrown :
Could not load file or assembly 'mscorlib.XmlSerializers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
System.IO.FileNotFoundException
I have set to "CopyToLocal = True" for System.Xml dll in the references, this does not fix the issue. The application and all its required projects are running under .NET 4.5.
Anybody faced this issue earlier ? Appreciate any help.
Thanks.I'm guessing now. but:
The system might be generating a serializer for the whole of mscorlib, which could be very slow.
You could probably avoid this by wrapping the system type in your own type and serialising that instead - then you'd get a serializer for your own assembly.
You might be able to build the serializer for mscorlib with sgen.exe, which was the old way of building serializer dlls before it got integrated into VS.
Davide 'n3wt0n' Benvegnù
If you found my answer helpful, please vote it.
If you think that my answer resolve your issue, plase "Mark it as answer". -
I started getting this error message for the first time today. When I look in the event log I see it every time anyone tries to sync to a mobile device to the exchange server. I've also had this problem trying to connect using
Outlook. I believe it is an IIS issue but I'm not absolutely sure so I'm posting this in the Exchange forum as well.
The event viewer has the following information...
3008
A configuration error has occurred.
5/1/2014 10:41:08 PM
5/2/2014 5:41:08 AM
7539d8a38c8b47869eda3f1749aba08d
1
1
0
/LM/W3SVC/1/ROOT/Microsoft-Server-ActiveSync-75-130434828686436855
Full
/Microsoft-Server-ActiveSync
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync\
SERVER
16284
w3wp.exe
NT AUTHORITY\SYSTEM
ConfigurationErrorsException
Could not load file or assembly 'System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
https://remote.testserver.com:443/Microsoft-Server-ActiveSync/default.eas?User=user.name&DeviceId=ApplC39GQ5xxxxxx&DeviceType=iPhone&Cmd=Ping
/Microsoft-Server-ActiveSync/default.eas
174.224.130.31
False
NT AUTHORITY\SYSTEM
24
NT AUTHORITY\SYSTEM
False
at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
I have tried most, if not all, of the different post's suggestions to no avail.
The steps I have taken are as follows...
1. Repaired .Net 4 (Both the client and extended)
2. Uninstalled and reinstalled .Net Framework 4.0.
3. Verified that the dll exists.
4. Checked the applicationHost.config file. It contains the follow statement...
<add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0"
/>
5. Changed the following line in web.config to include the runtimeVersion...
<add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0" />
6. Executed aspnet_regiis.exe -iru from the ...\Framework64\v4.0.30319 directory.
7. Went to inetpub\history to use an applicationHost.config file from yesterday but it only has history from 9PM tonight. It probably had what I needed before I started changing it tonight.
I still receive the same error message.
Like I said everything was working yesterday. In fact I didn't hear or see any issue until after 1PM today.
Any help would be very appreciated!Hi,
Please confirm whether users can access their mailboxes from Outlook Web Access or not. We can do the following changes to have a try:
1. In IIS > Application Pools, change the .NET Framework Version to v2.0 and restart IIS service.
2. If it doesn’t work, explore the Default Web site.
3. Renamed the web.config file to web.config.old
4. Reset IIS using iisreset command to have a try.
Thanks,
Winnie Liang
TechNet Community Support
Maybe you are looking for
-
Hi everybody, I'm experiencing problems with the EFI-Update for MBP, late 2008. It does not work at all, I've retried this several times and my Laptop just gets a grey Background, the bar at the top stays, I can move the mouse and click on the "apple
-
Can't get sound working on my Pavilion DV7-1245dx! Please Help!
To start, I do have (fail) Vista, For a while now, my touch buttons for the volume on my laptop have stopped working and the mute button is stuck on (ie. it is constantly lit up) and I get no sound. I click the unmute button from the volume control a
-
I have an iPod Touch 16GB 2G that currently runs on iOS 3.1.3. When I check for updates to the software in iTunes, I'm told that the software is up to date. Yet, online, many sources say that my iPod touch can be upgraded to iOS 4.2.1. But, I cannot
-
Order of execution of used DCs(doModifyView) in a Main DC
Hello all, I am working in an application using webdynprojava. The Application has a main DC and this main DC uses four seperate DCs as used DCs. We have code written in doModifyView in all the respective DCs(views). And all those are executing in
-
Quick Question - Crystal 8 and Windows 7
Officially I know this is not supported but do we know that this will not work for Windows 7? We have some old reports we would like to maintain for mulitple clients, Crystal 8 installs on the PC, loads the reports but fails on verify with cannot lo