question

Upvotes
Accepted
2 0 1 1

ASP.NET sample RFA.NET_ConsumerWebSite is not building

Hi , from the examples when i try to build sample asp.net project ASP.NET\RFA.NET_ConsumerWebSite it doesnt build and gives below errors. I have copied all the dll's to both system32/inetserv and syswow64/inetserv


elektronrefinitiv-realtimeelektron-sdkrfa.net
1585272938842.png (172.7 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
7.6k 15 6 9

@RSuryasetty

Please make sure that you are using 32-bit RFA.NET as Zoya said. ASP.NET Development Server on Visual Studio only works with 32-bit lib.

I did a quick test with VS2017 and it works correctly when choosing 32-bit lib.

Choosing 32-bit RFA.NET and TS1 libs.

Then it fixed the lib errors in Visual Studio.



screen1.jpg (323.2 KiB)
screen2.jpg (294.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
11.3k 25 8 13

Hi @RSuryasetty,

Please follow the instructions in the "Setup Enviroment" section in the ReadMe.txt file of the example. From my testing, I have found issues loading DACS libraries (DACS8...). Currently, please copy all DLL except the DACS libraries to RFA.NET_ConsumerWebSite\bin folder and Msg File library (i.e. RFA8_MsgFile140.dll) to Windows System folder (i.e. C:\Windows\SysWOW64 for 64-bit Windows and C:\Windows\System32 for 32-bit Windows)

2.2 Setup Environme
    2.2.1 Configurati
        One configuration file is used:
        RFA.NET_ConsumerWebSite/etc/ExampleRFA.c
        Note: The configuration file can be copied from
              ../ExampleRFA.cfg path. See the RFA Configuration Guide for
              information about how to configure the RFA librarie
    2.2.2 Data dictiona
        Make sure the RDMFieldDictionary and enumtype.def files are in
        the RFA.NET_ConsumerWebSite/etc director
        Note: Data dictionary files can be copied from
              ../../etc/RDM/ director
    2.2.3 Dependency library fi
        - Make sure RFA8_NET and TS1_NET library files are in
          the RFA.NET_ConsumerWebSite/Bin director
          Note: Only one version of RFA .NET assembly can exist in
                the RFA.NET_ConsumerWebSite/Bin director
        - Make sure the RFA8_MsgFile library file is either in the machine's
          path or installed to the system folde
    2.2.4 Runni
        Host the website on ASP.NET Development Server provided by
        Visual Studio by openning Debug->Start Without Debuggin
        Note: Hosting website on ASP.NET Development Server only works with
              RFA .NET 32-bit library because ASP.NET Development Server is
              a 32-bit application as well as Visual Studio.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
2 0 1 1

Hi Sir, I have done this and I get below error. ( I have restarted the system as well).


1585316854235.png (72.2 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hi @RSuryasetty,

Verify adding DLL references: RFA7_NET and TS1_NET:

Menu Debug-> ... Properties-> References-> Add-> Browse->

Select folder

...\rfanet7.5.0.L1.win.rrg\Libs\WIN_32_VS110

Select DLLs

Try building again.

Let us know how this works for you?


20200327-ref.gif (21.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Hi Zoya, I'm using VS 2017 and I dont see this option.

Upvotes
2 0 1 1

@Zoya, was able to add reference but no use.. still same errors.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea