Hi all, i'm going mad due to a fail library load into a MVC app.
```
REngine.SetEnvironmentVariables();
REngine engine = REngine.GetInstance();
engine.Initialize();
engine.Evaluate(".libPaths('C:/Progetti Visual Studio/tool/tool/Content/R Library/')");
engine.Evaluate("library (RODBC)"); //ERROR HERE
```
Every time it reads that row an error occur:
__Error: package or namespace load failed for 'RODBC'__
Any solution?
I'm pretty new of mvc...
thanks in advance
PS : I've tryed to follow the istructions on [this discussion](https://rdotnet.codeplex.com/discussions/572547) ... but i could not understand how to do what this guy said
> You have a very common problem with R running under IIS. If you add 'C:\Program Files\R\R-3.1.2\bin\i386' (or x64 if you are doing 64 bit) to your system path and restart Visual Studio or IIS then the RODBC package will load correctly. This is only for running under IIS and has to do with the DLL search paths under IIS while trying to find R's subordinate DLLs.
>
Comments: > Did you install the ODBC package? Yes I did. I have a full running console app with RODBC lib with the same call as the code above. Regard pp pool identity for IIS what exactly do you mean?
```
REngine.SetEnvironmentVariables();
REngine engine = REngine.GetInstance();
engine.Initialize();
engine.Evaluate(".libPaths('C:/Progetti Visual Studio/tool/tool/Content/R Library/')");
engine.Evaluate("library (RODBC)"); //ERROR HERE
```
Every time it reads that row an error occur:
__Error: package or namespace load failed for 'RODBC'__
Any solution?
I'm pretty new of mvc...
thanks in advance
PS : I've tryed to follow the istructions on [this discussion](https://rdotnet.codeplex.com/discussions/572547) ... but i could not understand how to do what this guy said
> You have a very common problem with R running under IIS. If you add 'C:\Program Files\R\R-3.1.2\bin\i386' (or x64 if you are doing 64 bit) to your system path and restart Visual Studio or IIS then the RODBC package will load correctly. This is only for running under IIS and has to do with the DLL search paths under IIS while trying to find R's subordinate DLLs.
>
Comments: > Did you install the ODBC package? Yes I did. I have a full running console app with RODBC lib with the same call as the code above. Regard pp pool identity for IIS what exactly do you mean?