Could not load file or assembly 'sapnco' or one of its dependencies. An attempt was made to load a program...
I have got this error while I am using SAP .NET Connector 3.0 x64. I couldn't find any solution at stackoverflow, so I d like to share here for others who stuck at same problem like me.
c# .net sap
add a comment |
I have got this error while I am using SAP .NET Connector 3.0 x64. I couldn't find any solution at stackoverflow, so I d like to share here for others who stuck at same problem like me.
c# .net sap
add a comment |
I have got this error while I am using SAP .NET Connector 3.0 x64. I couldn't find any solution at stackoverflow, so I d like to share here for others who stuck at same problem like me.
c# .net sap
I have got this error while I am using SAP .NET Connector 3.0 x64. I couldn't find any solution at stackoverflow, so I d like to share here for others who stuck at same problem like me.
c# .net sap
c# .net sap
asked Sep 17 '14 at 9:47
MertMert
2,38852553
2,38852553
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
Run > Regedit
HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio1X.0WebProjects
Change Use64BitIISExpress
from 0
to 1
Restart Visual Studio and IISExpress.
add a comment |
You Can try browsing/configured your service through IIS, and set appPool .Net 4.0. I hope this solve the sapnco dll issue.
add a comment |
I had similar problem with x86
I set the Platform Target from "any" to "x86", in Project/Properties and fixed the problem.
add a comment |
I had similar problem with VS 2017 and AnyCPU project option.
To fix the problem I disable Prefer 32-bit
checkbox in project build properties.
Having same issue but the "Prefer 32-bit" option is disabled so I can't check it.
– John81
Nov 14 '18 at 15:59
add a comment |
In VS 2017 I was able to resolve this by setting the Bitness to "x64" for IIS Express in the server section under the project web properties. I imagine this is similar to making the Use64BitIISExpress Regedit change in one of the other answers.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f25887269%2fcould-not-load-file-or-assembly-sapnco-or-one-of-its-dependencies-an-attempt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Run > Regedit
HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio1X.0WebProjects
Change Use64BitIISExpress
from 0
to 1
Restart Visual Studio and IISExpress.
add a comment |
Run > Regedit
HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio1X.0WebProjects
Change Use64BitIISExpress
from 0
to 1
Restart Visual Studio and IISExpress.
add a comment |
Run > Regedit
HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio1X.0WebProjects
Change Use64BitIISExpress
from 0
to 1
Restart Visual Studio and IISExpress.
Run > Regedit
HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio1X.0WebProjects
Change Use64BitIISExpress
from 0
to 1
Restart Visual Studio and IISExpress.
answered Sep 17 '14 at 9:47
MertMert
2,38852553
2,38852553
add a comment |
add a comment |
You Can try browsing/configured your service through IIS, and set appPool .Net 4.0. I hope this solve the sapnco dll issue.
add a comment |
You Can try browsing/configured your service through IIS, and set appPool .Net 4.0. I hope this solve the sapnco dll issue.
add a comment |
You Can try browsing/configured your service through IIS, and set appPool .Net 4.0. I hope this solve the sapnco dll issue.
You Can try browsing/configured your service through IIS, and set appPool .Net 4.0. I hope this solve the sapnco dll issue.
answered Oct 26 '15 at 20:18
user5490895user5490895
111
111
add a comment |
add a comment |
I had similar problem with x86
I set the Platform Target from "any" to "x86", in Project/Properties and fixed the problem.
add a comment |
I had similar problem with x86
I set the Platform Target from "any" to "x86", in Project/Properties and fixed the problem.
add a comment |
I had similar problem with x86
I set the Platform Target from "any" to "x86", in Project/Properties and fixed the problem.
I had similar problem with x86
I set the Platform Target from "any" to "x86", in Project/Properties and fixed the problem.
answered May 10 '16 at 17:55
Artur ABCArtur ABC
214
214
add a comment |
add a comment |
I had similar problem with VS 2017 and AnyCPU project option.
To fix the problem I disable Prefer 32-bit
checkbox in project build properties.
Having same issue but the "Prefer 32-bit" option is disabled so I can't check it.
– John81
Nov 14 '18 at 15:59
add a comment |
I had similar problem with VS 2017 and AnyCPU project option.
To fix the problem I disable Prefer 32-bit
checkbox in project build properties.
Having same issue but the "Prefer 32-bit" option is disabled so I can't check it.
– John81
Nov 14 '18 at 15:59
add a comment |
I had similar problem with VS 2017 and AnyCPU project option.
To fix the problem I disable Prefer 32-bit
checkbox in project build properties.
I had similar problem with VS 2017 and AnyCPU project option.
To fix the problem I disable Prefer 32-bit
checkbox in project build properties.
answered Apr 13 '18 at 11:09
VladVlad
94021323
94021323
Having same issue but the "Prefer 32-bit" option is disabled so I can't check it.
– John81
Nov 14 '18 at 15:59
add a comment |
Having same issue but the "Prefer 32-bit" option is disabled so I can't check it.
– John81
Nov 14 '18 at 15:59
Having same issue but the "Prefer 32-bit" option is disabled so I can't check it.
– John81
Nov 14 '18 at 15:59
Having same issue but the "Prefer 32-bit" option is disabled so I can't check it.
– John81
Nov 14 '18 at 15:59
add a comment |
In VS 2017 I was able to resolve this by setting the Bitness to "x64" for IIS Express in the server section under the project web properties. I imagine this is similar to making the Use64BitIISExpress Regedit change in one of the other answers.
add a comment |
In VS 2017 I was able to resolve this by setting the Bitness to "x64" for IIS Express in the server section under the project web properties. I imagine this is similar to making the Use64BitIISExpress Regedit change in one of the other answers.
add a comment |
In VS 2017 I was able to resolve this by setting the Bitness to "x64" for IIS Express in the server section under the project web properties. I imagine this is similar to making the Use64BitIISExpress Regedit change in one of the other answers.
In VS 2017 I was able to resolve this by setting the Bitness to "x64" for IIS Express in the server section under the project web properties. I imagine this is similar to making the Use64BitIISExpress Regedit change in one of the other answers.
answered Nov 14 '18 at 16:16
John81John81
1,05431741
1,05431741
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f25887269%2fcould-not-load-file-or-assembly-sapnco-or-one-of-its-dependencies-an-attempt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown